mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 12:14:31 +00:00
fixed Issue 243:
"canEqual(java.lang.Object)" was not in the blacklist of HandleDelegate (only javac, for eclipse it was already present)
This commit is contained in:
1 parent
72cb022231
commit
6f8e8adf4c
1 file changed
+1
@@ -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)",
|
||||
|
||||
Reference in new issue
Block a user