aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/GetterLazyEahcToString.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-06 23:57:30 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-06 23:57:30 +0100
commit8943b49dfed95228e324422435a77597a95943c0 (patch)
treeeeaadb526286cb8947abe06fb49379b8f3309b55 /test/transform/resource/after-delombok/GetterLazyEahcToString.java
parent2e06cb3ff19fb25b709ddfe5513a953c3d658b2e (diff)
downloadlombok-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-delombok/GetterLazyEahcToString.java')
-rw-r--r--test/transform/resource/after-delombok/GetterLazyEahcToString.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyEahcToString.java b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
index e0a0f6b2..bec89818 100644
--- a/test/transform/resource/after-delombok/GetterLazyEahcToString.java
+++ b/test/transform/resource/after-delombok/GetterLazyEahcToString.java
@@ -44,9 +44,7 @@ class GetterLazyEahcToString {
return "GetterLazyEahcToString(value=" + this.getValue() + ", value2=" + this.value2 + ")";
}
- @java.lang.SuppressWarnings("all")
-
-
+ @java.lang.SuppressWarnings({"all", "unchecked"})
public String getValue() {
java.lang.Object value = this.value.get();
if (value == null) {