}
final StringBuilder sb = new StringBuilder();
- String module = null;
+ String exceptionModule = null;
boolean first = true;
for (final LeafRefPathSyntaxErrorException e : exceptions) {
- if (module == null) {
- module = e.getModule();
+ if (exceptionModule == null) {
+ exceptionModule = e.getModule();
}
if (first) {
first = false;
sb.append(e.getFormattedMessage());
}
- throw new LeafRefPathSyntaxErrorException(module, 0, 0, sb.toString());
+ throw new LeafRefPathSyntaxErrorException(exceptionModule, 0, 0, sb.toString());
}
}