From 6f8e8adf4c0c31aa17573da89938bc50894f0a52 Mon Sep 17 00:00:00 2001 From: peichhorn Date: Sat, 30 Jul 2011 14:54:17 +0200 Subject: fixed Issue 243: "canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate (only javac, for eclipse it was already present) --- src/core/lombok/javac/handlers/HandleDelegate.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') 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 { private static final List 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)", -- cgit