Cleaned up code

This commit is contained in:
mathias 2021-08-19 23:24:16 +02:00
parent a1b8e4f3d9
commit a3766aa490
No known key found for this signature in database
GPG Key ID: 8950DF62139C852A
3 changed files with 5 additions and 4 deletions

View File

@ -80,7 +80,7 @@ public class InsertManager {
/** /**
* Execute the current SQL query * Executes the current SQL query
*/ */
public void execute() { public void execute() {
connection.update(prepareStatement(), values.values().toArray()); connection.update(prepareStatement(), values.values().toArray());

View File

@ -9,10 +9,11 @@ public enum SQLType {
DATETIME("DATETIME"), DATETIME("DATETIME"),
BOOLEAN("TINYINT"); BOOLEAN("TINYINT");
private String value; private final String value;
/** /**
* Basic constructor of the {@link SQLType} enum * Basic constructor of the {@link SQLType} enum
*
* @param value The value of the type * @param value The value of the type
*/ */
SQLType(String value) { SQLType(String value) {