Skip to content

Commit 1f001e2

Browse files
author
anton
committed
fix build
1 parent a7bb44e commit 1f001e2

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

application-core/src/main/java/ru/art/core/lazy/LazyLoadingValue.java

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
package ru.art.core.lazy;
22

3-
import lombok.AllArgsConstructor;
4-
import lombok.RequiredArgsConstructor;
5-
import static java.util.Objects.nonNull;
6-
import java.util.concurrent.atomic.AtomicReference;
7-
import java.util.concurrent.locks.ReentrantLock;
8-
import java.util.function.Supplier;
3+
import lombok.*;
4+
import static java.util.Objects.*;
5+
import java.util.concurrent.atomic.*;
6+
import java.util.concurrent.locks.*;
7+
import java.util.function.*;
98

109
@RequiredArgsConstructor
11-
@AllArgsConstructor
1210
public class LazyLoadingValue<T> {
1311
private final ReentrantLock lock = new ReentrantLock();
14-
private final Supplier<T> loader;
1512
private final AtomicReference<T> value = new AtomicReference<>();
13+
private final Supplier<T> loader;
1614

1715
public T value() {
1816
T value;

0 commit comments

Comments
 (0)