Cleaned up code
This commit is contained in:
parent
a1b8e4f3d9
commit
a3766aa490
@ -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());
|
||||||
|
@ -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) {
|
||||||
|
Reference in New Issue
Block a user