diff --git a/src/main/java/us/tastybento/bskyblock/database/flatfile/FlatFileDatabaseHandler.java b/src/main/java/us/tastybento/bskyblock/database/flatfile/FlatFileDatabaseHandler.java index 7a5d9f1dd..8b9ad796b 100644 --- a/src/main/java/us/tastybento/bskyblock/database/flatfile/FlatFileDatabaseHandler.java +++ b/src/main/java/us/tastybento/bskyblock/database/flatfile/FlatFileDatabaseHandler.java @@ -20,9 +20,7 @@ import us.tastybento.bskyblock.BSkyBlock; import us.tastybento.bskyblock.database.DatabaseConnecter; import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; - /** - * * Class that creates a list of s filled with values from the corresponding * database-table. * @@ -33,20 +31,17 @@ import us.tastybento.bskyblock.database.managers.AbstractDatabaseHandler; public class FlatFileDatabaseHandler extends AbstractDatabaseHandler { private static final String DATABASE_FOLDER_NAME = "database"; - public FlatFileDatabaseHandler(BSkyBlock plugin, Class type, - DatabaseConnecter databaseConnecter) { + public FlatFileDatabaseHandler(BSkyBlock plugin, Class type, DatabaseConnecter databaseConnecter) { super(plugin, type, databaseConnecter); } @Override protected String createSelectQuery() { - // not used - return ""; + return ""; // not used } @Override protected String createInsertQuery() { - // not used - return ""; + return ""; // not used } /** * Creates a filled with values from the corresponding @@ -114,10 +109,7 @@ public class FlatFileDatabaseHandler extends AbstractDatabaseHandler { * @throws IllegalArgumentException * @throws InvocationTargetException */ - private T createObject(YamlConfiguration config) throws InstantiationException, IllegalAccessException, - IntrospectionException, IllegalArgumentException, InvocationTargetException - { - + private T createObject(YamlConfiguration config) throws InstantiationException, IllegalAccessException, IntrospectionException, IllegalArgumentException, InvocationTargetException { T instance = type.newInstance(); for (Field field : type.getDeclaredFields()) { @@ -239,5 +231,4 @@ public class FlatFileDatabaseHandler extends AbstractDatabaseHandler { databaseConnecter.saveYamlFile(config, type.getSimpleName(), filename); } - }