fix: Fix checkstyle error

This commit is contained in:
Ilkka Seppälä
2023-02-11 19:09:51 +02:00
parent c2f2011048
commit 1fa80eb74c
@@ -44,9 +44,9 @@ 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() { public static synchronized ThreadSafeLazyLoadedIvoryTower getInstance() {
if (instance == null) { if (instance == null) {
instance = new ThreadSafeLazyLoadedIvoryTower(); instance = new ThreadSafeLazyLoadedIvoryTower();
} }
return instance; return instance;
} }
} }