diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-06 23:57:30 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-06 23:57:30 +0100 |
commit | 8943b49dfed95228e324422435a77597a95943c0 (patch) | |
tree | eeaadb526286cb8947abe06fb49379b8f3309b55 /test/transform/resource/after-ecj/GetterLazyTransient.java | |
parent | 2e06cb3ff19fb25b709ddfe5513a953c3d658b2e (diff) | |
download | lombok-8943b49dfed95228e324422435a77597a95943c0.tar.gz lombok-8943b49dfed95228e324422435a77597a95943c0.tar.bz2 lombok-8943b49dfed95228e324422435a77597a95943c0.zip |
[fixes #880] get rid of an unchecked cast warning for `@Getter(lazy=true)`
Diffstat (limited to 'test/transform/resource/after-ecj/GetterLazyTransient.java')
-rw-r--r-- | test/transform/resource/after-ecj/GetterLazyTransient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/GetterLazyTransient.java b/test/transform/resource/after-ecj/GetterLazyTransient.java index 3ffd9b69..7e5f4a41 100644 --- a/test/transform/resource/after-ecj/GetterLazyTransient.java +++ b/test/transform/resource/after-ecj/GetterLazyTransient.java @@ -5,7 +5,7 @@ class GetterLazyTransient { GetterLazyTransient() { super(); } - public @java.lang.SuppressWarnings("all") int getNonTransientField() { + public @java.lang.SuppressWarnings({"all", "unchecked"}) int getNonTransientField() { java.lang.Object value = this.nonTransientField.get(); if ((value == null)) { |