DBType enum constant name format

This commit is contained in:
Rsl1122 2018-11-11 21:22:37 +02:00
parent d9cc79814f
commit 61016e1fef
3 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ import java.util.Optional;
*/
public enum DBType {
MySQL("MySQL", true),
SQLite("SQLite", false),
MYSQL("MySQL", true),
SQLITE("SQLite", false),
H2("H2", true);
private final String name;

View File

@ -70,7 +70,7 @@ public class MySQLDB extends SQLDB {
@Override
public DBType getType() {
return DBType.MySQL;
return DBType.MYSQL;
}
/**

View File

@ -124,7 +124,7 @@ public class SQLiteDB extends SQLDB {
@Override
public DBType getType() {
return DBType.SQLite;
return DBType.SQLITE;
}
@Override