mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-22 09:08:03 +01:00
Minor spacing/typo in AbstractDatabaseHandler
This commit is contained in:
parent
712e335814
commit
5ec5a59dd4
@ -19,17 +19,16 @@ public abstract class AbstractDatabaseHandler<T> {
|
|||||||
* The data object that should be created and filled with values
|
* The data object that should be created and filled with values
|
||||||
* from the database or inserted into the database
|
* 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
|
* Contains the settings to create a connection to the database like
|
||||||
* host/port/database/user/password
|
* host/port/database/user/password
|
||||||
*/
|
*/
|
||||||
protected DatabaseConnecter databaseConnecter;
|
protected DatabaseConnecter databaseConnecter;
|
||||||
|
|
||||||
protected BSkyBlock plugin;
|
protected BSkyBlock plugin;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
@ -248,8 +248,6 @@ public class FlatFileDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
|
|||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
@Override
|
@Override
|
||||||
public void saveObject(T instance) throws IllegalAccessException, InvocationTargetException, IntrospectionException {
|
public void saveObject(T instance) throws IllegalAccessException, InvocationTargetException, IntrospectionException {
|
||||||
|
|
||||||
|
|
||||||
// This is the Yaml Configuration that will be used and saved at the end
|
// This is the Yaml Configuration that will be used and saved at the end
|
||||||
YamlConfiguration config = new YamlConfiguration();
|
YamlConfiguration config = new YamlConfiguration();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user