#12 Added private constructor to ThreadSafeLazyLoadedIvoryTower.
This commit is contained in:
@ -8,6 +8,9 @@ package com.iluwatar;
|
||||
public class ThreadSafeLazyLoadedIvoryTower {
|
||||
|
||||
private static ThreadSafeLazyLoadedIvoryTower instance = null;
|
||||
|
||||
private ThreadSafeLazyLoadedIvoryTower() {
|
||||
}
|
||||
|
||||
public synchronized static ThreadSafeLazyLoadedIvoryTower getInstance() {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user