diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-01-02 10:11:14 -0800 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-01-02 10:11:14 -0800 |
commit | 6f4f053cc5127f4f6ec6f4d6c4cfdc40b063ca3c (patch) | |
tree | 691dd09d05ca1598408eeae910b80b3447858d59 /src/core | |
parent | 5ac90442241ed586c7a0b3e0d455856202e6e81c (diff) | |
parent | 0a8794355f99592e377dea755ea06de6cc20f140 (diff) | |
download | lombok-6f4f053cc5127f4f6ec6f4d6c4cfdc40b063ca3c.tar.gz lombok-6f4f053cc5127f4f6ec6f4d6c4cfdc40b063ca3c.tar.bz2 lombok-6f4f053cc5127f4f6ec6f4d6c4cfdc40b063ca3c.zip |
Merge pull request #22 from jvanderhel/Fix_SetGeneratedByVisitor
Use newSourceEnd for sourceEnd calculation
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java b/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java index 8d5648fa..13292cdd 100644 --- a/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java +++ b/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java @@ -261,7 +261,7 @@ public final class SetGeneratedByVisitor extends ASTVisitor { // start = newSourceStart; // end = newSourceStart; // return ((start<<32)+end); - return ((long)newSourceStart << 32) | (newSourceStart & INT_TO_LONG_MASK); + return ((long)newSourceStart << 32) | (newSourceEnd & INT_TO_LONG_MASK); } @Override public boolean visit(AllocationExpression node, BlockScope scope) { |