aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-02 10:11:14 -0800
committerRoel Spilker <r.spilker@gmail.com>2012-01-02 10:11:14 -0800
commit6f4f053cc5127f4f6ec6f4d6c4cfdc40b063ca3c (patch)
tree691dd09d05ca1598408eeae910b80b3447858d59 /src/core
parent5ac90442241ed586c7a0b3e0d455856202e6e81c (diff)
parent0a8794355f99592e377dea755ea06de6cc20f140 (diff)
downloadlombok-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.java2
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) {