aboutsummaryrefslogtreecommitdiff
path: root/src/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-17 20:09:01 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-17 20:09:01 +0200
commitdb2326714f796b8e7100edc0388e54b2ba3e5139 (patch)
tree43d54a496c9fa6f0f2731bf55b059778a5d2988f /src/lombok
parentd3ee75020ee2b28795d602f2a0daf018b5131c9a (diff)
downloadlombok-db2326714f796b8e7100edc0388e54b2ba3e5139.tar.gz
lombok-db2326714f796b8e7100edc0388e54b2ba3e5139.tar.bz2
lombok-db2326714f796b8e7100edc0388e54b2ba3e5139.zip
Trivial
Diffstat (limited to 'src/lombok')
-rw-r--r--src/lombok/javac/JavacAST.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lombok/javac/JavacAST.java b/src/lombok/javac/JavacAST.java
index 37673ab5..99727553 100644
--- a/src/lombok/javac/JavacAST.java
+++ b/src/lombok/javac/JavacAST.java
@@ -372,8 +372,7 @@ public class JavacAST extends AST<JCTree> {
f.setAccessible(true);
if ( f.getType() == int.class ) {
int val = ((Number)f.get(messager)).intValue();
- val++;
- f.set(messager, val);
+ f.set(messager, val +1);
}
} catch ( Throwable t ) {
//Very unfortunate, but in most cases it still works fine, so we'll silently swallow it.