mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 20:15:59 +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
@@ -7,7 +7,7 @@
|
||||
private static boolean calculateBoolean() {
|
||||
return true;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isBooleanValue() {
|
||||
public @java.lang.SuppressWarnings({"all", "unchecked"}) boolean isBooleanValue() {
|
||||
java.lang.Object value = this.booleanValue.get();
|
||||
if ((value == null))
|
||||
{
|
||||
@@ -24,7 +24,7 @@
|
||||
}
|
||||
return (java.lang.Boolean) value;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isOtherBooleanValue() {
|
||||
public @java.lang.SuppressWarnings({"all", "unchecked"}) boolean isOtherBooleanValue() {
|
||||
java.lang.Object value = this.otherBooleanValue.get();
|
||||
if ((value == null))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user