diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-07-20 01:35:40 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-07-20 01:35:40 +0200 |
commit | 0d7df01a0711604ce3da57e11815d376c7071870 (patch) | |
tree | 8b0bc84bf45ac725a86697b4a916e60027bcf626 /test/delombok/resource/after/NonNullPlain.java | |
parent | 9b886c140cf3cbc22c8db0ec8e37b95b45d7b4d9 (diff) | |
download | lombok-0d7df01a0711604ce3da57e11815d376c7071870.tar.gz lombok-0d7df01a0711604ce3da57e11815d376c7071870.tar.bz2 lombok-0d7df01a0711604ce3da57e11815d376c7071870.zip |
Updated the tests to reflect recent modifications: use 'this' where possible and add @SuppressWarnings for all generated fields and methods.
Diffstat (limited to 'test/delombok/resource/after/NonNullPlain.java')
-rw-r--r-- | test/delombok/resource/after/NonNullPlain.java | 12 |
1 files changed, 6 insertions, 6 deletions
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; |