Skip to content

Commit

Permalink
fix: Remove unnecessary argument in executeQuery() call
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeV220 committed May 29, 2023
1 parent 2b40e6d commit b148d37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public void loadAll() {
String query = "SELECT entity_id FROM " + collection;
try {
PreparedStatement preparedStatement = connection.prepareStatement(query);
ResultSet rs = preparedStatement.executeQuery(query);
ResultSet rs = preparedStatement.executeQuery();
while (rs.next()) {
entityIDs.add(UUID.fromString(rs.getString("entity_id")));
}
Expand Down

0 comments on commit b148d37

Please sign in to comment.