aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorJappe van der Hel <jappe.vanderhel@gmail.com>2011-12-20 19:59:59 +0100
committerJappe van der Hel <jappe.vanderhel@gmail.com>2011-12-20 19:59:59 +0100
commit0a8794355f99592e377dea755ea06de6cc20f140 (patch)
tree691dd09d05ca1598408eeae910b80b3447858d59 /src/core/lombok
parent5ac90442241ed586c7a0b3e0d455856202e6e81c (diff)
downloadlombok-0a8794355f99592e377dea755ea06de6cc20f140.tar.gz
lombok-0a8794355f99592e377dea755ea06de6cc20f140.tar.bz2
lombok-0a8794355f99592e377dea755ea06de6cc20f140.zip
Use newSourceEnd for sourceAnd calculation
Diffstat (limited to 'src/core/lombok')
-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) {