[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

@@ -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))
{