Cleaned up code
This commit is contained in:
parent
34c1ec14fa
commit
f6d89ee3f2
@ -71,7 +71,7 @@ public class MySQLConnection {
|
||||
PreparedStatement ps = con.prepareStatement(query);
|
||||
|
||||
for (int i = 0; i < params.length; i++) {
|
||||
ps.setObject(i+1, params[i]);
|
||||
ps.setObject(i + 1, params[i]);
|
||||
}
|
||||
|
||||
return ps.executeQuery();
|
||||
@ -120,7 +120,7 @@ public class MySQLConnection {
|
||||
PreparedStatement ps = con.prepareStatement(query);
|
||||
|
||||
for (int i = 0; i < params.length; i++) {
|
||||
ps.setObject(i+1, params[i]);
|
||||
ps.setObject(i + 1, params[i]);
|
||||
}
|
||||
|
||||
ps.executeUpdate();
|
||||
|
@ -14,7 +14,7 @@ public class TableGenerator {
|
||||
private final String tableName;
|
||||
|
||||
/**
|
||||
* Basic constructor for the TableGenerator
|
||||
* Basic constructor for the {@link TableGenerator}
|
||||
*
|
||||
* @param tableName Name of the table
|
||||
*/
|
||||
|
Reference in New Issue
Block a user