mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-18 08:14:57 +00:00
[fixes #880] get rid of an unchecked cast warning for @Getter(lazy=true)
This commit is contained in:
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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user