diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-07-16 22:24:04 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-07-16 22:24:04 +0200 |
commit | b1877a77be41695259108d2c755c87051b3f0d07 (patch) | |
tree | 6b804b438e0ce8e8e0e2af85d7bb6267f9bcab17 /test/transform/resource/after-ecj/EqualsAndHashCode.java | |
parent | bd2d76bb546cf60ff8f36318fca4c2d0498d1d43 (diff) | |
download | lombok-b1877a77be41695259108d2c755c87051b3f0d07.tar.gz lombok-b1877a77be41695259108d2c755c87051b3f0d07.tar.bz2 lombok-b1877a77be41695259108d2c755c87051b3f0d07.zip |
fixed tests since Robbert Jan's fix for issue 377.
Diffstat (limited to 'test/transform/resource/after-ecj/EqualsAndHashCode.java')
-rw-r--r-- | test/transform/resource/after-ecj/EqualsAndHashCode.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/transform/resource/after-ecj/EqualsAndHashCode.java b/test/transform/resource/after-ecj/EqualsAndHashCode.java index ebbc1ffe..33ef799d 100644 --- a/test/transform/resource/after-ecj/EqualsAndHashCode.java +++ b/test/transform/resource/after-ecj/EqualsAndHashCode.java @@ -4,6 +4,9 @@ Object[] z; String a; String b; + EqualsAndHashCode() { + super(); + } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -43,15 +46,15 @@ result = ((result * PRIME) + (($b == null) ? 0 : $b.hashCode())); return result; } - EqualsAndHashCode() { - super(); - } } final @lombok.EqualsAndHashCode class EqualsAndHashCode2 { int x; long y; float f; double d; + EqualsAndHashCode2() { + super(); + } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -79,11 +82,11 @@ final @lombok.EqualsAndHashCode class EqualsAndHashCode2 { result = ((result * PRIME) + (int) ($d ^ ($d >>> 32))); return result; } - EqualsAndHashCode2() { - super(); - } } final @lombok.EqualsAndHashCode(callSuper = false) class EqualsAndHashCode3 extends EqualsAndHashCode { + EqualsAndHashCode3() { + super(); + } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -101,11 +104,11 @@ final @lombok.EqualsAndHashCode(callSuper = false) class EqualsAndHashCode3 exte int result = 1; return result; } - EqualsAndHashCode3() { - super(); - } } @lombok.EqualsAndHashCode(callSuper = true) class EqualsAndHashCode4 extends EqualsAndHashCode { + EqualsAndHashCode4() { + super(); + } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -127,7 +130,4 @@ final @lombok.EqualsAndHashCode(callSuper = false) class EqualsAndHashCode3 exte result = ((result * PRIME) + super.hashCode()); return result; } - EqualsAndHashCode4() { - super(); - } } |