aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Koning <askoning@gmail.com>2012-01-16 22:34:12 +0100
committerSander Koning <askoning@gmail.com>2012-01-16 22:34:12 +0100
commit7627d03afd8d10cbdefc93f0317f4d5f98cc6526 (patch)
treed12ad2c252d35dffb439158049e6f12c1dd8d364
parent06dceeb5419703b8bf87877eb6dcd448a148625a (diff)
downloadlombok-7627d03afd8d10cbdefc93f0317f4d5f98cc6526.tar.gz
lombok-7627d03afd8d10cbdefc93f0317f4d5f98cc6526.tar.bz2
lombok-7627d03afd8d10cbdefc93f0317f4d5f98cc6526.zip
Issue 325: revert old behaviour of fixRetrieveRightBrace...
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
index 65852687..86f2b9cf 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
@@ -237,7 +237,8 @@ public class PatchFixes {
}
public static int fixRetrieveRightBraceOrSemiColonPosition(int original, int end) {
- return original == -1 ? end : original;
+ return original;
+ // return original == -1 ? end : original; // Need to fix: see issue 325.
}
public static final int ALREADY_PROCESSED_FLAG = 0x800000; //Bit 24