File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
exist-core/src/main/java/org/exist Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 25
25
import java .io .InputStream ;
26
26
import java .util .Properties ;
27
27
28
- import com .evolvedbinary .j8fu .lazy .LazyVal ;
28
+ import com .evolvedbinary .j8fu .lazy .AtomicLazyVal ;
29
+ import net .jcip .annotations .ThreadSafe ;
29
30
import org .apache .logging .log4j .LogManager ;
30
31
import org .apache .logging .log4j .Logger ;
31
32
32
33
/**
33
34
*
34
- * @author aretter
35
+ * @author <a href="mailto:[email protected] ">Adam Retter</a>
35
36
*/
37
+ @ ThreadSafe
36
38
public class SystemProperties {
37
39
38
40
private static final Logger LOG = LogManager .getLogger (SystemProperties .class );
39
41
private static final SystemProperties instance = new SystemProperties ();
40
42
41
- private final LazyVal <Properties > properties = new LazyVal <>(this ::load );
43
+ private final AtomicLazyVal <Properties > properties = new AtomicLazyVal <>(this ::load );
42
44
43
45
public final static SystemProperties getInstance () {
44
46
return instance ;
You can’t perform that action at this time.
0 commit comments