diff --git a/src/main/java/us/tastybento/bskyblock/database/BSBDatabase.java b/src/main/java/us/tastybento/bskyblock/database/BSBDatabase.java index 01183c90d..112ae5e12 100755 --- a/src/main/java/us/tastybento/bskyblock/database/BSBDatabase.java +++ b/src/main/java/us/tastybento/bskyblock/database/BSBDatabase.java @@ -5,9 +5,7 @@ import org.bukkit.plugin.Plugin; import us.tastybento.bskyblock.config.Settings; import us.tastybento.bskyblock.database.flatfile.FlatFileDatabase; import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; -import us.tastybento.bskyblock.database.mongodb.MongoDBDatabase; import us.tastybento.bskyblock.database.mysql.MySQLDatabase; -import us.tastybento.bskyblock.database.sqlite.SQLiteDatabase; public abstract class BSBDatabase { @@ -25,9 +23,7 @@ public abstract class BSBDatabase { public enum DatabaseType{ FLATFILE(new FlatFileDatabase()), - MONGODB(new MongoDBDatabase()), - MYSQL(new MySQLDatabase()), - SQLITE(new SQLiteDatabase()); + MYSQL(new MySQLDatabase()); BSBDatabase database; diff --git a/src/main/java/us/tastybento/bskyblock/database/mongodb/MongoDBDatabase.java b/src/main/java/us/tastybento/bskyblock/database/mongodb/MongoDBDatabase.java deleted file mode 100644 index 3ec28773d..000000000 --- a/src/main/java/us/tastybento/bskyblock/database/mongodb/MongoDBDatabase.java +++ /dev/null @@ -1,15 +0,0 @@ -package us.tastybento.bskyblock.database.mongodb; - -import org.bukkit.plugin.Plugin; - -import us.tastybento.bskyblock.database.BSBDatabase; -import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; - -public class MongoDBDatabase extends BSBDatabase{ - - @Override - public AbstractDatabaseHandler getHandler(Plugin plugin, Class type) { - return null; //TODO - } - -} diff --git a/src/main/java/us/tastybento/bskyblock/database/mysql/MySQLDatabaseHandler.java b/src/main/java/us/tastybento/bskyblock/database/mysql/MySQLDatabaseHandler.java index 114935dd7..6bfb1a4ad 100644 --- a/src/main/java/us/tastybento/bskyblock/database/mysql/MySQLDatabaseHandler.java +++ b/src/main/java/us/tastybento/bskyblock/database/mysql/MySQLDatabaseHandler.java @@ -544,7 +544,6 @@ public class MySQLDatabaseHandler extends AbstractDatabaseHandler { return "null"; } return value; - } /** diff --git a/src/main/java/us/tastybento/bskyblock/database/sqlite/SQLiteDatabase.java b/src/main/java/us/tastybento/bskyblock/database/sqlite/SQLiteDatabase.java deleted file mode 100755 index 056153e7d..000000000 --- a/src/main/java/us/tastybento/bskyblock/database/sqlite/SQLiteDatabase.java +++ /dev/null @@ -1,16 +0,0 @@ -package us.tastybento.bskyblock.database.sqlite; - -import org.bukkit.plugin.Plugin; - -import us.tastybento.bskyblock.database.BSBDatabase; -import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; - -public class SQLiteDatabase extends BSBDatabase{ - - @Override - public AbstractDatabaseHandler getHandler(Plugin plugin, Class type) { - // return new SQLLiteDatabaseHandler(plugin, Island.class, new FlatFileDatabaseConnecter(plugin, null)); - return null; - } - -}