DATACMNS-1806 - Polishing.
Styilistic tweaks (we only qualify writing field access with this). Original pull request: #468.
This commit is contained in:
@@ -223,14 +223,14 @@ public class Lazy<T> implements Supplier<T> {
|
||||
@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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user