mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-10-29 23:09:42 +01:00
DBType enum constant name format
This commit is contained in:
parent
d9cc79814f
commit
61016e1fef
@ -26,8 +26,8 @@ import java.util.Optional;
|
|||||||
*/
|
*/
|
||||||
public enum DBType {
|
public enum DBType {
|
||||||
|
|
||||||
MySQL("MySQL", true),
|
MYSQL("MySQL", true),
|
||||||
SQLite("SQLite", false),
|
SQLITE("SQLite", false),
|
||||||
H2("H2", true);
|
H2("H2", true);
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
@ -70,7 +70,7 @@ public class MySQLDB extends SQLDB {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DBType getType() {
|
public DBType getType() {
|
||||||
return DBType.MySQL;
|
return DBType.MYSQL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -124,7 +124,7 @@ public class SQLiteDB extends SQLDB {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DBType getType() {
|
public DBType getType() {
|
||||||
return DBType.SQLite;
|
return DBType.SQLITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user