Refactor warehouse part two.
This commit is contained in:
1 parent
3c70a09e12
commit
b76a384e1f
6 files changed
+132
-811
No files matched your search
@@ -171,9 +171,8 @@ public class dbItemHandler extends dbHandlerBase {
|
||||
JSONParser jsonParser = new JSONParser();
|
||||
|
||||
try (Connection connection = DbManager.getConnection();
|
||||
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_item_templates`;")) {
|
||||
|
||||
ResultSet rs = preparedStatement.executeQuery();
|
||||
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_item_templates`;");
|
||||
ResultSet rs = preparedStatement.executeQuery()) {
|
||||
|
||||
while (rs.next()) {
|
||||
int templateID = rs.getInt("id");
|
||||
|
||||
Reference in new issue
Block a user