mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 14:58:39 +00:00
Update IvoryTower.java
fixed the issue with class creation.
This commit is contained in:
@@ -13,7 +13,7 @@ public class IvoryTower {
|
||||
|
||||
public static IvoryTower getInstance() {
|
||||
if(instance == null){
|
||||
instance = IvoryTower();
|
||||
instance = new IvoryTower();
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user