mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 14:17:46 +00:00
Remove extra space
This commit is contained in:
1 parent
eb75773891
commit
f16ae08bdf
1 file changed
+1
-1
@@ -38,7 +38,7 @@ public final class ThreadSafeLazyLoadedIvoryTower {
|
|||||||
/**
|
/**
|
||||||
* The instance gets created only when it is called for first time. Lazy-loading
|
* The instance gets created only when it is called for first time. Lazy-loading
|
||||||
*/
|
*/
|
||||||
public static synchronized ThreadSafeLazyLoadedIvoryTower getInstance() {
|
public static synchronized ThreadSafeLazyLoadedIvoryTower getInstance() {
|
||||||
|
|
||||||
if (instance == null) {
|
if (instance == null) {
|
||||||
instance = new ThreadSafeLazyLoadedIvoryTower();
|
instance = new ThreadSafeLazyLoadedIvoryTower();
|
||||||
|
|||||||
Reference in new issue
Block a user