Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
usfalami committed Aug 29, 2024
1 parent 92210be commit d377117
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/usf/jquery/core/QueryView.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@RequiredArgsConstructor(access = AccessLevel.PACKAGE)
public final class QueryView implements DBView {

@Getter // remove this
@Getter
private final RequestQueryBuilder builder;

@Override
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/usf/jquery/core/RangeComparator.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public interface RangeComparator extends Comparator {
default String sql(QueryParameterBuilder builder, Object[] args) {
requireNArgs(3, args, RangeComparator.class::getSimpleName);
return builder.appendParameter(args[0]) + " " + id() +
" " + builder.appendParameter(args[1]) + " AND " + builder.appendParameter(args[2]);
" " + builder.appendParameter(args[1]) +
" AND " + builder.appendParameter(args[2]);
}
}
2 changes: 1 addition & 1 deletion src/main/java/org/usf/jquery/core/TypedComparator.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ComparisonExpression expression(Object... right) {
public ColumnSingleFilter filter(Object... args) {
try {
return comparator.filter(parameterSet.assertArguments(args));
} catch (BadArgumentException e) { //TODO message
} catch (BadArgumentException e) {
throw badArgumentsException(toString(), comparator.id() + joinAndDelemitArray(SCOMA, "(", ")", args), e);
}
}
Expand Down

0 comments on commit d377117

Please sign in to comment.