Format tweak
This commit is contained in:
parent
186478cde7
commit
712a0a8f7f
|
@ -54,6 +54,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||||
public abstract class AtomicSafeInitializer<T> extends AbstractConcurrentInitializer<T, RuntimeException> {
|
public abstract class AtomicSafeInitializer<T> extends AbstractConcurrentInitializer<T, RuntimeException> {
|
||||||
|
|
||||||
private static final Object NO_INIT = new Object();
|
private static final Object NO_INIT = new Object();
|
||||||
|
|
||||||
/** A guard which ensures that initialize() is called only once. */
|
/** A guard which ensures that initialize() is called only once. */
|
||||||
private final AtomicReference<AtomicSafeInitializer<T>> factory =
|
private final AtomicReference<AtomicSafeInitializer<T>> factory =
|
||||||
new AtomicReference<>();
|
new AtomicReference<>();
|
||||||
|
|
Loading…
Reference in New Issue