From 8943b49dfed95228e324422435a77597a95943c0 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 6 Feb 2020 23:57:30 +0100 Subject: [fixes #880] get rid of an unchecked cast warning for `@Getter(lazy=true)` --- test/transform/resource/after-delombok/GetterLazy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/transform/resource/after-delombok/GetterLazy.java') diff --git a/test/transform/resource/after-delombok/GetterLazy.java b/test/transform/resource/after-delombok/GetterLazy.java index 25a71848..1e30f94b 100644 --- a/test/transform/resource/after-delombok/GetterLazy.java +++ b/test/transform/resource/after-delombok/GetterLazy.java @@ -2,7 +2,7 @@ class GetterLazy { static class ValueType { } private final java.util.concurrent.atomic.AtomicReference fieldName = new java.util.concurrent.atomic.AtomicReference(); - @java.lang.SuppressWarnings("all") + @java.lang.SuppressWarnings({"all", "unchecked"}) public ValueType getFieldName() { java.lang.Object value = this.fieldName.get(); if (value == null) { -- cgit