These should be protected.

This commit is contained in:
GJ 2013-06-06 18:01:43 -04:00
parent 8705974e08
commit 4ff4271da2
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
private final long UPDATE_WAIT_TIME = 600000L; // 10 minutes private final long UPDATE_WAIT_TIME = 600000L; // 10 minutes
private final File usersFile; private final File usersFile;
public FlatfileDatabaseManager() { protected FlatfileDatabaseManager() {
usersFile = new File(mcMMO.getUsersFilePath()); usersFile = new File(mcMMO.getUsersFilePath());
createDatabase(); createDatabase();
updateLeaderboards(); updateLeaderboards();

View File

@ -48,7 +48,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
// How many connection attempts have failed // How many connection attempts have failed
private int reconnectAttempt = 0; private int reconnectAttempt = 0;
public SQLDatabaseManager() { protected SQLDatabaseManager() {
checkConnected(); checkConnected();
createStructure(); createStructure();
} }