Removed all create calls

This commit is contained in:
Jonathan Williams 2014-12-31 09:38:41 -05:00
parent 4b937dfade
commit aca7fd6849
8 changed files with 10 additions and 8 deletions

View File

@ -76,7 +76,7 @@ public class AccountRepository extends RepositoryBase
@Override @Override
protected void initialize() protected void initialize()
{ {
executeUpdate(CREATE_ACCOUNT_TABLE); //executeUpdate(CREATE_ACCOUNT_TABLE);
} }
public void login(NautHashMap<String, ILoginProcessor> loginProcessors, String uuid, String name) public void login(NautHashMap<String, ILoginProcessor> loginProcessors, String uuid, String name)

View File

@ -23,7 +23,7 @@ public class EloRepository extends RepositoryBase
public void initialize() public void initialize()
{ {
executeUpdate(CREATE_ELO_TABLE); //executeUpdate(CREATE_ELO_TABLE);
} }
public void saveElo(String uuid, String gameType, int elo) public void saveElo(String uuid, String gameType, int elo)

View File

@ -28,7 +28,7 @@ public class FriendRepository extends RepositoryBase
@Override @Override
protected void initialize() protected void initialize()
{ {
executeUpdate(CREATE_FRIEND_TABLE); //executeUpdate(CREATE_FRIEND_TABLE);
} }
@Override @Override

View File

@ -25,7 +25,7 @@ public class PreferencesRepository extends RepositoryBase
@Override @Override
protected void initialize() protected void initialize()
{ {
executeUpdate(CREATE_ACCOUNT_TABLE); //executeUpdate(CREATE_ACCOUNT_TABLE);
} }
@Override @Override

View File

@ -25,6 +25,7 @@ public class SimpleStatsRepository
public void initialize() public void initialize()
{ {
/*
PreparedStatement preparedStatement = null; PreparedStatement preparedStatement = null;
try try
@ -55,6 +56,7 @@ public class SimpleStatsRepository
} }
} }
} }
*/
} }
public NautHashMap<String, String> retrieveStatRecords() public NautHashMap<String, String> retrieveStatRecords()

View File

@ -30,7 +30,7 @@ public class SpawnRepository extends RepositoryBase
@Override @Override
protected void initialize() protected void initialize()
{ {
executeUpdate(CREATE_SPAWN_TABLE); //executeUpdate(CREATE_SPAWN_TABLE);
} }
@Override @Override

View File

@ -37,8 +37,8 @@ public class StatsRepository extends RepositoryBase
@Override @Override
protected void initialize() protected void initialize()
{ {
executeUpdate(CREATE_STAT_TABLE); //executeUpdate(CREATE_STAT_TABLE);
executeUpdate(CREATE_STAT_RELATION_TABLE); //executeUpdate(CREATE_STAT_RELATION_TABLE);
} }
@Override @Override

View File

@ -179,7 +179,7 @@ public class HubManager extends MiniClientPlugin<HubClient>
_mountManager = new MountManager(_plugin, clientManager, donationManager, blockRestore, _disguiseManager); _mountManager = new MountManager(_plugin, clientManager, donationManager, blockRestore, _disguiseManager);
_inventoryManager = new InventoryManager(plugin, clientManager); _inventoryManager = new InventoryManager(plugin, clientManager);
new BenefitManager(plugin, clientManager, _inventoryManager); //new BenefitManager(plugin, clientManager, _inventoryManager);
_gadgetManager = new GadgetManager(_plugin, clientManager, donationManager, _inventoryManager, _mountManager, petManager, preferences, disguiseManager, blockRestore, new ProjectileManager(plugin)); _gadgetManager = new GadgetManager(_plugin, clientManager, donationManager, _inventoryManager, _mountManager, petManager, preferences, disguiseManager, blockRestore, new ProjectileManager(plugin));
_treasureManager = new TreasureManager(_plugin, donationManager, _inventoryManager, petManager, _blockRestore, hologramManager); _treasureManager = new TreasureManager(_plugin, donationManager, _inventoryManager, petManager, _blockRestore, hologramManager);
new CosmeticManager(_plugin, clientManager, donationManager, _inventoryManager, _gadgetManager, _mountManager, petManager, _treasureManager); new CosmeticManager(_plugin, clientManager, donationManager, _inventoryManager, _gadgetManager, _mountManager, petManager, _treasureManager);