aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorpeichhorn <peichhor@web.de>2011-07-30 14:54:17 +0200
committerpeichhorn <peichhor@web.de>2011-07-30 14:54:17 +0200
commit6f8e8adf4c0c31aa17573da89938bc50894f0a52 (patch)
treefd9329b9ed966d5b05cbad6a4407e8df40c98698 /src/core/lombok
parent72cb022231a6c43c97b36377a85f2d4de875b1d9 (diff)
downloadlombok-6f8e8adf4c0c31aa17573da89938bc50894f0a52.tar.gz
lombok-6f8e8adf4c0c31aa17573da89938bc50894f0a52.tar.bz2
lombok-6f8e8adf4c0c31aa17573da89938bc50894f0a52.zip
fixed Issue 243:
"canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate (only javac, for eclipse it was already present)
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/javac/handlers/HandleDelegate.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/handlers/HandleDelegate.java b/src/core/lombok/javac/handlers/HandleDelegate.java
index 1a33a027..0294171f 100644
--- a/src/core/lombok/javac/handlers/HandleDelegate.java
+++ b/src/core/lombok/javac/handlers/HandleDelegate.java
@@ -81,6 +81,7 @@ public class HandleDelegate extends JavacAnnotationHandler<Delegate> {
private static final List<String> METHODS_IN_OBJECT = Collections.unmodifiableList(Arrays.asList(
"hashCode()",
+ "canEqual(java.lang.Object)", //Not in j.l.Object, but it goes with hashCode and equals so if we ignore those two, we should ignore this one.
"equals(java.lang.Object)",
"wait()",
"wait(long)",