Skip to content

Commit

Permalink
Again (I'm sorry)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsrnhld committed Jan 18, 2024
1 parent e8277ca commit 66727c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@
public class FlagSqlAggregator implements SqlAggregator {

private static final Param<Integer> NUMERIC_TRUE_VAL = DSL.val(1);
private static final Param<Integer> NUMERIC_FALSE_VAL = DSL.val(0);
private static final Param<String> EMPTY_STRING = DSL.val("");

SqlSelects sqlSelects;
WhereClauses whereClauses;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public List<String> getStringList(ResultSet resultSet, int columnIndex) throws S
return Arrays.stream(casted).filter(Objects::nonNull).toList();
}
catch (ClassCastException exception) {
throw new SQLException("Expected an array of type String at column index %s in ResultSet %s.");
throw new SQLException("Expected an array of type String at column index %s in ResultSet %s.".formatted(columnIndex, resultSet));
}
}

Expand Down

0 comments on commit 66727c9

Please sign in to comment.