Moved DATABASE_FOLDER_NAME in AbstractDatabaseHandler

This commit is contained in:
Florian CUNY 2018-10-28 16:02:23 +01:00
parent 04e4f9a4aa
commit 4f5009fe0e
2 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,11 @@ import world.bentobox.bentobox.BentoBox;
*/ */
public abstract class AbstractDatabaseHandler<T> { public abstract class AbstractDatabaseHandler<T> {
/**
* Name of the folder where databases using files will live
*/
protected static final String DATABASE_FOLDER_NAME = "database";
/** /**
* 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

View File

@ -49,10 +49,6 @@ import world.bentobox.bentobox.util.Util;
public class FlatFileDatabaseHandler<T> extends AbstractDatabaseHandler<T> { public class FlatFileDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
/**
* This is the name of the folder where the flat file databases will live
*/
private static final String DATABASE_FOLDER_NAME = "database";
/** /**
* Flag to indicate if this is a config or a pure object database (difference is in comments and annotations) * Flag to indicate if this is a config or a pure object database (difference is in comments and annotations)
*/ */