[i660] canEqual is now protected instead of public.

Also fixed the total lack of canEqual in the usage examples.
This commit is contained in:
Roel Spilker
2014-03-26 21:11:30 +01:00
parent db71f39c27
commit 4d24542dac
42 changed files with 160 additions and 81 deletions
@@ -33,7 +33,7 @@ public class EqualsAndHashCodeExample {
return result;
}
public boolean canEqual(Object other) {
protected boolean canEqual(Object other) {
return other instanceof EqualsAndHashCodeExample;
}
@@ -65,7 +65,7 @@ public class EqualsAndHashCodeExample {
return result;
}
public boolean canEqual(Object other) {
protected boolean canEqual(Object other) {
return other instanceof Square;
}
}