Minor spacing/typo in AbstractDatabaseHandler

This commit is contained in:
Florian CUNY 2018-07-13 17:29:57 +02:00
parent 712e335814
commit 5ec5a59dd4
2 changed files with 2 additions and 5 deletions

View File

@ -19,17 +19,16 @@ public abstract class AbstractDatabaseHandler<T> {
* The data object that should be created and filled with values
* from the database or inserted into the database
*/
protected Class<T> dataObject;
protected Class<T> dataObject;
/**
* Contains the settings to create a connection to the database like
* host/port/database/user/password
*/
protected DatabaseConnecter databaseConnecter;
protected DatabaseConnecter databaseConnecter;
protected BSkyBlock plugin;
/**
* Constructor
*

View File

@ -248,8 +248,6 @@ public class FlatFileDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
@SuppressWarnings("unchecked")
@Override
public void saveObject(T instance) throws IllegalAccessException, InvocationTargetException, IntrospectionException {
// This is the Yaml Configuration that will be used and saved at the end
YamlConfiguration config = new YamlConfiguration();