diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-17 20:09:01 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-17 20:09:01 +0200 |
commit | db2326714f796b8e7100edc0388e54b2ba3e5139 (patch) | |
tree | 43d54a496c9fa6f0f2731bf55b059778a5d2988f /src | |
parent | d3ee75020ee2b28795d602f2a0daf018b5131c9a (diff) | |
download | lombok-db2326714f796b8e7100edc0388e54b2ba3e5139.tar.gz lombok-db2326714f796b8e7100edc0388e54b2ba3e5139.tar.bz2 lombok-db2326714f796b8e7100edc0388e54b2ba3e5139.zip |
Trivial
Diffstat (limited to 'src')
-rw-r--r-- | src/lombok/javac/JavacAST.java | 3 |
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. |