[fixes #880] get rid of an unchecked cast warning for @Getter(lazy=true)

This commit is contained in:
Reinier Zwitserloot committed 2020-02-06 23:57:30 +01:00
1 parent 2e06cb3ff1
commit 8943b49dfe
19 files changed
+161 -39

No files matched your search

@@ -9,7 +9,7 @@ class DelegateOnGetter {
DelegateOnGetter() {
super();
}
public @Delegate @java.lang.SuppressWarnings("all") Bar getBar() {
public @Delegate @java.lang.SuppressWarnings({"all", "unchecked"}) Bar getBar() {
java.lang.Object value = this.bar.get();
if ((value == null))
{