Skip to content

Commit e3e2382

Browse files
committed
DATACMNS-1806 - Polishing.
Styilistic tweaks (we only qualify writing field access with this). Original pull request: #468.
1 parent a442b90 commit e3e2382

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/org/springframework/data/util

1 file changed

+3
-3
lines changed

src/main/java/org/springframework/data/util/Lazy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,14 @@ public <S> Lazy<S> flatMap(Function<? super T, Lazy<? extends S>> function) {
223223
@Nullable
224224
public T getNullable() {
225225

226-
if (this.resolved) {
227-
return this.value;
226+
if (resolved) {
227+
return value;
228228
}
229229

230230
this.value = supplier.get();
231231
this.resolved = true;
232232

233-
return this.value;
233+
return value;
234234
}
235235

236236
/*

0 commit comments

Comments
 (0)