aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/DataIgnore.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/DataIgnore.java')
-rw-r--r--test/transform/resource/after-ecj/DataIgnore.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/DataIgnore.java b/test/transform/resource/after-ecj/DataIgnore.java
index df2254c8..13c8e2f7 100644
--- a/test/transform/resource/after-ecj/DataIgnore.java
+++ b/test/transform/resource/after-ecj/DataIgnore.java
@@ -11,15 +11,18 @@
public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) {
if ((o == this))
return true;
- if ((o == null))
- return false;
- if ((o.getClass() != this.getClass()))
+ if ((! (o instanceof DataIgnore)))
return false;
final DataIgnore other = (DataIgnore) o;
+ if ((! other.canEqual(this)))
+ return false;
if ((this.getX() != other.getX()))
return false;
return true;
}
+ public @java.lang.SuppressWarnings("all") boolean canEqual(final java.lang.Object other) {
+ return (other instanceof DataIgnore);
+ }
public @java.lang.Override @java.lang.SuppressWarnings("all") int hashCode() {
final int PRIME = 31;
int result = 1;