diff --git a/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java index 01df12c16..2f790b98e 100644 --- a/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/flatfile/FlatFileDatabaseHandler.java @@ -64,7 +64,7 @@ public class FlatFileDatabaseHandler extends AbstractDatabaseHandler { * @param type - class to store in the database * @param databaseConnector - the database credentials, in this case, just the YAML functions */ - public FlatFileDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector databaseConnector) { + FlatFileDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector databaseConnector) { super(plugin, type, databaseConnector); } diff --git a/src/main/java/world/bentobox/bentobox/database/mongodb/MongoDBDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/mongodb/MongoDBDatabaseHandler.java index 44b7106b9..2e339215f 100644 --- a/src/main/java/world/bentobox/bentobox/database/mongodb/MongoDBDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/mongodb/MongoDBDatabaseHandler.java @@ -36,7 +36,6 @@ public class MongoDBDatabaseHandler extends AbstractJSONDatabaseHandler { private MongoCollection collection; private DatabaseConnector dbConnecter; - /** * Handles the connection to the database and creation of the initial database schema (tables) for * the class that will be stored. @@ -44,7 +43,7 @@ public class MongoDBDatabaseHandler extends AbstractJSONDatabaseHandler { * @param type - the type of class to be stored in the database. Must inherit DataObject * @param dbConnecter - authentication details for the database */ - public MongoDBDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector dbConnecter) { + MongoDBDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector dbConnecter) { super(plugin, type, dbConnecter); this.dbConnecter = dbConnecter; diff --git a/src/main/java/world/bentobox/bentobox/database/mysql/MySQLDatabaseHandler.java b/src/main/java/world/bentobox/bentobox/database/mysql/MySQLDatabaseHandler.java index 7243ce3cb..6e465fb4c 100644 --- a/src/main/java/world/bentobox/bentobox/database/mysql/MySQLDatabaseHandler.java +++ b/src/main/java/world/bentobox/bentobox/database/mysql/MySQLDatabaseHandler.java @@ -42,7 +42,6 @@ public class MySQLDatabaseHandler extends AbstractJSONDatabaseHandler { */ private Connection connection; - /** * Handles the connection to the database and creation of the initial database schema (tables) for * the class that will be stored. @@ -50,7 +49,7 @@ public class MySQLDatabaseHandler extends AbstractJSONDatabaseHandler { * @param type - the type of class to be stored in the database. Must inherit DataObject * @param dbConnecter - authentication details for the database */ - public MySQLDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector dbConnecter) { + MySQLDatabaseHandler(BentoBox plugin, Class type, DatabaseConnector dbConnecter) { super(plugin, type, dbConnecter); connection = (Connection)dbConnecter.createConnection(); // Check if the table exists in the database and if not, create it