Révision 2545
tmp/org.txm.libs.args4j/src/org/kohsuke/args4j/MapSetter.java (revision 2545) | ||
---|---|---|
50 | 50 |
try { |
51 | 51 |
addValue(mapKey, mapValue); |
52 | 52 |
} |
53 |
catch (IllegalAccessException _) {
|
|
53 |
catch (IllegalAccessException ex) {
|
|
54 | 54 |
// try again |
55 | 55 |
f.setAccessible(true); |
56 | 56 |
try { |
tmp/org.txm.libs.args4j/src/org/kohsuke/args4j/spi/MethodSetter.java (revision 2545) | ||
---|---|---|
40 | 40 |
try { |
41 | 41 |
m.invoke(bean, value); |
42 | 42 |
} |
43 |
catch (IllegalAccessException _) {
|
|
43 |
catch (IllegalAccessException ex) {
|
|
44 | 44 |
// try again |
45 | 45 |
m.setAccessible(true); |
46 | 46 |
try { |
tmp/org.txm.libs.args4j/src/org/kohsuke/args4j/spi/FieldSetter.java (revision 2545) | ||
---|---|---|
32 | 32 |
try { |
33 | 33 |
f.set(bean, value); |
34 | 34 |
} |
35 |
catch (IllegalAccessException _) {
|
|
35 |
catch (IllegalAccessException ex) {
|
|
36 | 36 |
// try again |
37 | 37 |
f.setAccessible(true); |
38 | 38 |
try { |
tmp/org.txm.libs.args4j/src/org/kohsuke/args4j/spi/MultiValueFieldSetter.java (revision 2545) | ||
---|---|---|
48 | 48 |
try { |
49 | 49 |
doAddValue(bean, value); |
50 | 50 |
} |
51 |
catch (IllegalAccessException _) {
|
|
51 |
catch (IllegalAccessException ex) {
|
|
52 | 52 |
// try again |
53 | 53 |
f.setAccessible(true); |
54 | 54 |
try { |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/MainCorpus.java (revision 2545) | ||
---|---|---|
545 | 545 |
|
546 | 546 |
for (String name : cqpNames) { |
547 | 547 |
if (!attributes.containsKey(name)) { |
548 |
int _ = name.lastIndexOf("_"); //$NON-NLS-1$
|
|
549 |
if (_ == -1 || !cqpNames.contains(name.substring(0, _))) {
|
|
548 |
int ex = name.lastIndexOf("_"); //$NON-NLS-1$
|
|
549 |
if (ex == -1 || !cqpNames.contains(name.substring(0, ex))) {
|
|
550 | 550 |
attributes.put(name, new ArrayList<String>()); |
551 | 551 |
} |
552 | 552 |
else { |
553 |
String unitName = name.substring(0, _);
|
|
554 |
String attributeName = name.substring(_ + 1);
|
|
553 |
String unitName = name.substring(0, ex);
|
|
554 |
String attributeName = name.substring(ex + 1);
|
|
555 | 555 |
if (!attributes.containsKey(unitName)) { |
556 | 556 |
attributes.put(unitName, new ArrayList<String>()); |
557 | 557 |
} |
Formats disponibles : Unified diff