Reduced spam from OlympiadGameManager all current games finished log.

This commit is contained in:
MobiusDevelopment
2022-10-17 21:21:36 +00:00
parent d1daa8d060
commit 8a050116cc
25 changed files with 270 additions and 342 deletions

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -78,11 +78,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.log(Level.INFO, "Olympiad System: Loaded " + _tasks.length + " stadiums."); LOGGER.log(Level.INFO, "Olympiad System: Loaded " + _tasks.length + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -173,7 +168,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.log(Level.INFO, "Olympiad System: All current games finished."); // LOGGER.log(Level.INFO, "Olympiad System: All current games finished.");
} }
} }
@@ -219,6 +214,11 @@ public class OlympiadGameManager implements Runnable
} }
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder private static class SingletonHolder
{ {
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager(); protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }

View File

@@ -63,11 +63,6 @@ public class OlympiadGameManager implements Runnable
LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums."); LOGGER.info("Olympiad System: Loaded " + _tasks.size() + " stadiums.");
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
protected final boolean isBattleStarted() protected final boolean isBattleStarted()
{ {
return _battleStarted; return _battleStarted;
@@ -186,7 +181,7 @@ public class OlympiadGameManager implements Runnable
{ {
OlympiadManager.getInstance().clearRegistered(); OlympiadManager.getInstance().clearRegistered();
_battleStarted = false; _battleStarted = false;
LOGGER.info("Olympiad System: All current games finished."); // LOGGER.info("Olympiad System: All current games finished.");
} }
} }
} }
@@ -238,16 +233,18 @@ public class OlympiadGameManager implements Runnable
} }
} }
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
/**
* @return the _tasks
*/
public List<OlympiadStadium> getTasks() public List<OlympiadStadium> getTasks()
{ {
return _tasks; return _tasks;
} }
public static OlympiadGameManager getInstance()
{
return SingletonHolder.INSTANCE;
}
private static class SingletonHolder
{
protected static final OlympiadGameManager INSTANCE = new OlympiadGameManager();
}
} }