diff --git a/src/main/java/org/springframework/data/util/Lazy.java b/src/main/java/org/springframework/data/util/Lazy.java index 8b474170b..d4ffdbfcd 100644 --- a/src/main/java/org/springframework/data/util/Lazy.java +++ b/src/main/java/org/springframework/data/util/Lazy.java @@ -223,14 +223,14 @@ public class Lazy implements Supplier { @Nullable public T getNullable() { - if (this.resolved) { - return this.value; + if (resolved) { + return value; } this.value = supplier.get(); this.resolved = true; - return this.value; + return value; } /*