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. --- test/delombok/resource/after/NonNullPlain.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/delombok/resource/after/NonNullPlain.java') diff --git a/test/delombok/resource/after/NonNullPlain.java b/test/delombok/resource/after/NonNullPlain.java index 2d7ebb4f..19869db1 100644 --- a/test/delombok/resource/after/NonNullPlain.java +++ b/test/delombok/resource/after/NonNullPlain.java @@ -3,21 +3,21 @@ class NonNullPlain { int i; @lombok.NonNull String s; - @lombok.NonNull + @java.lang.SuppressWarnings("all") public int getI() { - return i; + return this.i; } - + @java.lang.SuppressWarnings("all") public void setI(@lombok.NonNull final int i) { this.i = i; } - @lombok.NonNull + @java.lang.SuppressWarnings("all") public String getS() { - return s; + return this.s; } - + @java.lang.SuppressWarnings("all") public void setS(@lombok.NonNull final String s) { if (s == null) throw new java.lang.NullPointerException("s"); this.s = s; -- cgit