From b1877a77be41695259108d2c755c87051b3f0d07 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 16 Jul 2012 22:24:04 +0200 Subject: fixed tests since Robbert Jan's fix for issue 377. --- .../resource/after-ecj/EqualsAndHashCode.java | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test/transform/resource/after-ecj/EqualsAndHashCode.java') 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(); - } } -- cgit