mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 18:23:13 +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:
@@ -20,7 +20,7 @@ final class EqualsAndHashCodeWithExistingMethods2 {
|
||||
final class EqualsAndHashCodeWithExistingMethods3 extends EqualsAndHashCodeWithExistingMethods {
|
||||
int x;
|
||||
|
||||
public boolean canEqual(Object other) {
|
||||
private boolean canEqual(Object other) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user