Olympiad database load adjustments.
This commit is contained in:
@ -146,6 +146,7 @@ public class Olympiad extends ListenersContainer
|
||||
private void load()
|
||||
{
|
||||
NOBLES.clear();
|
||||
|
||||
boolean loaded = false;
|
||||
try (Connection con = DatabaseFactory.getConnection();
|
||||
PreparedStatement statement = con.prepareStatement(OLYMPIAD_LOAD_DATA);
|
||||
@ -168,7 +169,7 @@ public class Olympiad extends ListenersContainer
|
||||
|
||||
if (!loaded)
|
||||
{
|
||||
LOGGER.info("Olympiad System: Failed to load data from database, trying to load from file.");
|
||||
// LOGGER.info("Olympiad System: Failed to load data from database, trying to load from file.");
|
||||
|
||||
final Properties olympiadProperties = new Properties();
|
||||
try (InputStream is = new FileInputStream(Config.OLYMPIAD_CONFIG_FILE))
|
||||
|
Reference in New Issue
Block a user