Revision 60386
Added by Michele Artini about 3 years ago
SubmitDnetHadoopJobNode.java | ||
---|---|---|
47 | 47 |
log.error("Error parsing value", e); |
48 | 48 |
} |
49 | 49 |
} |
50 |
}
|
|
51 |
if (mess.getBody().containsKey(Message.TOTAL_PARAM)) {
|
|
52 |
try {
|
|
53 |
setTotalValue(Integer.parseInt(mess.getBody().get(Message.TOTAL_PARAM)));
|
|
54 |
setAccurate(true);
|
|
55 |
} catch (final Throwable e) {
|
|
56 |
log.error("Error parsing value", e);
|
|
50 |
if (mess.getBody().containsKey(Message.TOTAL_PARAM)) {
|
|
51 |
try {
|
|
52 |
setTotalValue(Integer.parseInt(mess.getBody().get(Message.TOTAL_PARAM)));
|
|
53 |
setAccurate(true);
|
|
54 |
} catch (final Throwable e) {
|
|
55 |
log.error("Error parsing value", e);
|
|
56 |
}
|
|
57 | 57 |
} |
58 | 58 |
} |
59 |
|
|
60 | 59 |
} |
61 | 60 |
|
62 | 61 |
@Override |
Also available in: Unified diff
fixed a for cycle