aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {