Refactor
This commit is contained in:
parent
afb9b0f0a3
commit
c5f8dc4356
|
@ -27,7 +27,7 @@ class MemoizedResource<R> implements Resource<R> {
|
|||
}
|
||||
|
||||
@Override
|
||||
public synchronized R get() throws Exception {
|
||||
public R get() throws Exception {
|
||||
if (value == null) {
|
||||
value = resource.get();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue