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/DataOnLocalClass.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/DataOnLocalClass.java')
-rw-r--r-- | test/transform/resource/after-ecj/DataOnLocalClass.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/transform/resource/after-ecj/DataOnLocalClass.java b/test/transform/resource/after-ecj/DataOnLocalClass.java index 76a4b47d..137edf50 100644 --- a/test/transform/resource/after-ecj/DataOnLocalClass.java +++ b/test/transform/resource/after-ecj/DataOnLocalClass.java @@ -7,10 +7,6 @@ class DataOnLocalClass1 { @Data class Local { final int x; String name; - public @java.lang.SuppressWarnings("all") Local(final int x) { - super(); - this.x = x; - } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -50,6 +46,10 @@ class DataOnLocalClass1 { public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (((("Local(x=" + this.getX()) + ", name=") + this.getName()) + ")"); } + public @java.lang.SuppressWarnings("all") Local(final int x) { + super(); + this.x = x; + } } } } @@ -58,12 +58,6 @@ class DataOnLocalClass2 { @Data class Local { @Data class InnerLocal { @lombok.NonNull String name; - public @java.lang.SuppressWarnings("all") InnerLocal(final @lombok.NonNull String name) { - super(); - if ((name == null)) - throw new java.lang.NullPointerException("name"); - this.name = name; - } public @lombok.NonNull @java.lang.SuppressWarnings("all") String getName() { return this.name; } @@ -99,12 +93,14 @@ class DataOnLocalClass2 { public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (("Local.InnerLocal(name=" + this.getName()) + ")"); } + public @java.lang.SuppressWarnings("all") InnerLocal(final @lombok.NonNull String name) { + super(); + if ((name == null)) + throw new java.lang.NullPointerException("name"); + this.name = name; + } } final int x; - public @java.lang.SuppressWarnings("all") Local(final int x) { - super(); - this.x = x; - } public @java.lang.SuppressWarnings("all") int getX() { return this.x; } @@ -132,9 +128,13 @@ class DataOnLocalClass2 { public @java.lang.Override @java.lang.SuppressWarnings("all") java.lang.String toString() { return (("Local(x=" + this.getX()) + ")"); } + public @java.lang.SuppressWarnings("all") Local(final int x) { + super(); + this.x = x; + } } } DataOnLocalClass2() { super(); } -}
\ No newline at end of file +} |