From 0d7df01a0711604ce3da57e11815d376c7071870 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 20 Jul 2010 01:35:40 +0200 Subject: Updated the tests to reflect recent modifications: use 'this' where possible and add @SuppressWarnings for all generated fields and methods. --- .../resource/after/GetterAlreadyExists.java | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'test/delombok/resource/after/GetterAlreadyExists.java') diff --git a/test/delombok/resource/after/GetterAlreadyExists.java b/test/delombok/resource/after/GetterAlreadyExists.java index fce1ba41..6a5377ba 100644 --- a/test/delombok/resource/after/GetterAlreadyExists.java +++ b/test/delombok/resource/after/GetterAlreadyExists.java @@ -21,8 +21,9 @@ class Getter4 { String hasFoo() { return null; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter5 { @@ -30,8 +31,9 @@ class Getter5 { String isFoo() { return null; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter6 { @@ -45,8 +47,9 @@ class Getter7 { boolean hasFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter8 { @@ -54,8 +57,9 @@ class Getter8 { boolean isFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter9 { @@ -87,8 +91,9 @@ class Getter13 { static boolean hasFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter14 { @@ -96,8 +101,9 @@ class Getter14 { static boolean isFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter15 { @@ -111,8 +117,9 @@ class Getter16 { static String hasFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter17 { @@ -120,8 +127,9 @@ class Getter17 { static String isFoo() { return false; } + @java.lang.SuppressWarnings("all") public String getFoo() { - return foo; + return this.foo; } } class Getter18 { -- cgit