Use qualified method and field access

This commit is contained in:
yueh
2017-08-11 21:43:47 +02:00
parent cdcab7d91c
commit e39855b48f
30 changed files with 207 additions and 205 deletions
+3 -3
View File
@@ -35,10 +35,10 @@ public class Lazy<T> implements Supplier<T>
@Override
public T get()
{
if( instance == null )
if( this.instance == null )
{
instance = supplier.get();
this.instance = this.supplier.get();
}
return instance;
return this.instance;
}
}