mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 05:20:09 +00:00
Fix checkstyle error
This commit is contained in:
1 parent
92ecd63ccf
commit
0f751d40cb
1 file changed
+1
-1
@@ -42,7 +42,7 @@ public final class ThreadSafeLazyLoadedIvoryTower {
|
||||
}
|
||||
|
||||
/**
|
||||
* The instance doesn't get created until the method is called for the first time
|
||||
* The instance doesn't get created until the method is called for the first time.
|
||||
*/
|
||||
public static synchronized ThreadSafeLazyLoadedIvoryTower getInstance() {
|
||||
if (instance == null) {
|
||||
|
||||
Reference in new issue
Block a user