From e3e23828ef7abd3b339dab0f25c42b2620aaa797 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 25 Sep 2020 16:41:53 +0200 Subject: [PATCH] DATACMNS-1806 - Polishing. Styilistic tweaks (we only qualify writing field access with this). Original pull request: #468. --- src/main/java/org/springframework/data/util/Lazy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } /*