diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 21:11:30 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-03-26 21:11:30 +0100 |
commit | 4d24542dac058fcd7c341f9d17c4e8170a8d83a2 (patch) | |
tree | 945083ad989cb2abfb84f02ed88bc8b21ef87827 /test/transform/resource/after-delombok/EqualsAndHashCode.java | |
parent | db71f39c271f1f8124fac96daa68d8b012fbf390 (diff) | |
download | lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.tar.gz lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.tar.bz2 lombok-4d24542dac058fcd7c341f9d17c4e8170a8d83a2.zip |
[i660] canEqual is now protected instead of public.
Also fixed the total lack of canEqual in the usage examples.
Diffstat (limited to 'test/transform/resource/after-delombok/EqualsAndHashCode.java')
-rw-r--r-- | test/transform/resource/after-delombok/EqualsAndHashCode.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCode.java b/test/transform/resource/after-delombok/EqualsAndHashCode.java index afe03dea..02ca2c42 100644 --- a/test/transform/resource/after-delombok/EqualsAndHashCode.java +++ b/test/transform/resource/after-delombok/EqualsAndHashCode.java @@ -23,7 +23,7 @@ class EqualsAndHashCode { 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 EqualsAndHashCode; } @java.lang.Override @@ -86,7 +86,7 @@ final class EqualsAndHashCode3 extends EqualsAndHashCode { 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 EqualsAndHashCode3; } @java.lang.Override @@ -108,7 +108,7 @@ class EqualsAndHashCode4 extends EqualsAndHashCode { 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 EqualsAndHashCode4; } @java.lang.Override |