Code style changes.
This commit is contained in:
@@ -53,7 +53,7 @@ public class OlympiadGameManager implements Runnable
|
||||
_log.log(Level.INFO, "Olympiad System: Loaded " + _tasks.length + " stadiums.");
|
||||
}
|
||||
|
||||
public static final OlympiadGameManager getInstance()
|
||||
public static OlympiadGameManager getInstance()
|
||||
{
|
||||
return SingletonHolder._instance;
|
||||
}
|
||||
@@ -145,15 +145,12 @@ public class OlympiadGameManager implements Runnable
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
// not in competition period
|
||||
else if (isAllTasksFinished())
|
||||
{
|
||||
// not in competition period
|
||||
if (isAllTasksFinished())
|
||||
{
|
||||
OlympiadManager.getInstance().clearRegistered();
|
||||
_battleStarted = false;
|
||||
_log.log(Level.INFO, "Olympiad System: All current games finished.");
|
||||
}
|
||||
OlympiadManager.getInstance().clearRegistered();
|
||||
_battleStarted = false;
|
||||
_log.log(Level.INFO, "Olympiad System: All current games finished.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user