aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorChristian Sterzl <christian.sterzl@gmail.com>2014-04-03 14:10:31 +0200
committerChristian Sterzl <christian.sterzl@gmail.com>2014-04-03 14:10:31 +0200
commitf93478e7b56494ce86e9ea7d4585f288489073e0 (patch)
treefbfd6c8f2d69dcfd3762d0b266e4fb6d54282f03 /test/transform/resource/after-delombok
parentbb9783fcec4cab60b9c14ca5eb012c8c38d6b445 (diff)
downloadlombok-f93478e7b56494ce86e9ea7d4585f288489073e0.tar.gz
lombok-f93478e7b56494ce86e9ea7d4585f288489073e0.tar.bz2
lombok-f93478e7b56494ce86e9ea7d4585f288489073e0.zip
Fixed tests, added test for ecj.
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
index 2052b0b0..d8d8b025 100644
--- a/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
+++ b/test/transform/resource/after-delombok/EqualsAndHashCodeWithOnParam.java
@@ -1,7 +1,7 @@
@interface Nullable {
}
-class EqualsAndHashCode {
+class EqualsAndHashCodeWithOnParam {
int x;
boolean[] y;
Object[] z;
@@ -11,8 +11,8 @@ class EqualsAndHashCode {
@java.lang.SuppressWarnings("all")
public boolean equals(@Nullable final java.lang.Object o) {
if (o == this) return true;
- if (!(o instanceof EqualsAndHashCode)) return false;
- final EqualsAndHashCode other = (EqualsAndHashCode)o;
+ if (!(o instanceof EqualsAndHashCodeWithOnParam)) return false;
+ final EqualsAndHashCodeWithOnParam other = (EqualsAndHashCodeWithOnParam)o;
if (!other.canEqual((java.lang.Object)this)) return false;
if (this.x != other.x) return false;
if (!java.util.Arrays.equals(this.y, other.y)) return false;
@@ -27,7 +27,7 @@ class EqualsAndHashCode {
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(@Nullable final java.lang.Object other) {
- return other instanceof EqualsAndHashCode;
+ return other instanceof EqualsAndHashCodeWithOnParam;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")