Skip to content

Commit 3d55749

Browse files
committed
Update IvoryTower.java
fixed the issue with class creation.
1 parent 459b696 commit 3d55749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singleton/src/main/java/com/iluwatar/IvoryTower.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private IvoryTower() {}
1313

1414
public static IvoryTower getInstance() {
1515
if(instance == null){
16-
instance = IvoryTower();
16+
instance = new IvoryTower();
1717
}
1818
return instance;
1919
}

0 commit comments

Comments
 (0)