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/DataPlain.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/DataPlain.java')
-rw-r--r-- | test/transform/resource/after-ecj/DataPlain.java | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/test/transform/resource/after-ecj/DataPlain.java b/test/transform/resource/after-ecj/DataPlain.java index 0828bc44..1b33070b 100644 --- a/test/transform/resource/after-ecj/DataPlain.java +++ b/test/transform/resource/after-ecj/DataPlain.java @@ -2,10 +2,6 @@ import lombok.Data; @lombok.Data class Data1 { final int x; String name; - public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data1(final int x) { - super(); - this.x = x; - } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -45,14 +41,14 @@ import lombok.Data; public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("Data1(x=" + this.getX()) + ", name=") + this.getName()) + ")"); } + public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data1(final int x) { + super(); + this.x = x; + } } @Data class Data2 { final int x; String name; - public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data2(final int x) { - super(); - this.x = x; - } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -92,14 +88,14 @@ import lombok.Data; public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("Data2(x=" + this.getX()) + ", name=") + this.getName()) + ")"); } + public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data2(final int x) { + super(); + this.x = x; + } } final @Data class Data3 { final int x; String name; - public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data3(final int x) { - super(); - this.x = x; - } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -134,9 +130,16 @@ final @Data class Data3 { public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("Data3(x=" + this.getX()) + ", name=") + this.getName()) + ")"); } + public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") Data3(final int x) { + super(); + this.x = x; + } } final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java.util.Timer { int x; + Data4() { + super(); + } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -170,14 +173,8 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java result = ((result * PRIME) + this.getX()); return result; } - Data4() { - super(); - } } @Data class Data5 { - public @java.lang.SuppressWarnings("all") Data5() { - super(); - } public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -198,11 +195,11 @@ final @Data @lombok.EqualsAndHashCode(callSuper = true) class Data4 extends java public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return "Data5()"; } -} -final @Data class Data6 { - public @java.lang.SuppressWarnings("all") Data6() { + public @java.lang.SuppressWarnings("all") Data5() { super(); } +} +final @Data class Data6 { public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(final java.lang.Object o) { if ((o == this)) return true; @@ -217,4 +214,7 @@ final @Data class Data6 { public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return "Data6()"; } -}
\ No newline at end of file + public @java.lang.SuppressWarnings("all") Data6() { + super(); + } +} |