aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/DataPlain.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-03-26 21:11:30 +0100
committerRoel Spilker <r.spilker@gmail.com>2014-03-26 21:11:30 +0100
commit4d24542dac058fcd7c341f9d17c4e8170a8d83a2 (patch)
tree945083ad989cb2abfb84f02ed88bc8b21ef87827 /test/transform/resource/after-ecj/DataPlain.java
parentdb71f39c271f1f8124fac96daa68d8b012fbf390 (diff)
downloadlombok-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-ecj/DataPlain.java')
-rw-r--r--test/transform/resource/after-ecj/DataPlain.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-ecj/DataPlain.java b/test/transform/resource/after-ecj/DataPlain.java
index aa47fdaa..858f46dd 100644
--- a/test/transform/resource/after-ecj/DataPlain.java
+++ b/test/transform/resource/after-ecj/DataPlain.java
@@ -27,7 +27,7 @@ import lombok.Data;
return false;
return true;
}
- public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
+ protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
return (other instanceof Data1);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
@@ -74,7 +74,7 @@ import lombok.Data;
return false;
return true;
}
- public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
+ protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
return (other instanceof Data2);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
@@ -163,7 +163,7 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
return false;
return true;
}
- public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
+ protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
return (other instanceof Data4);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
@@ -185,7 +185,7 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java
return false;
return true;
}
- public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
+ protected @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
return (other instanceof Data5);
}
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {