mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 10:15:19 +00:00
[i660] canEqual is now protected instead of public.
Also fixed the total lack of canEqual in the usage examples.
This commit is contained in:
1 parent
db71f39c27
commit
4d24542dac
42 files changed
+160
-81
No files matched your search
@@ -32,7 +32,7 @@ class Data1 {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean canEqual(final java.lang.Object other) {
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof Data1;
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -85,7 +85,7 @@ class Data2 {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean canEqual(final java.lang.Object other) {
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof Data2;
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -181,7 +181,7 @@ final class Data4 extends java.util.Timer {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean canEqual(final java.lang.Object other) {
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof Data4;
|
||||
}
|
||||
@java.lang.Override
|
||||
@@ -208,7 +208,7 @@ class Data5 {
|
||||
return true;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public boolean canEqual(final java.lang.Object other) {
|
||||
protected boolean canEqual(final java.lang.Object other) {
|
||||
return other instanceof Data5;
|
||||
}
|
||||
@java.lang.Override
|
||||
|
||||
Reference in new issue
Block a user