Skip to content

Commit

Permalink
NPE in ExpressionOperator.printCollection
Browse files Browse the repository at this point in the history
Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman committed May 14, 2024
1 parent cde1999 commit 5b50e5c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2383,8 +2383,7 @@ public void printCollection(List<Expression> items, ExpressionSQLPrinter printer

int[] indices = getArgumentIndices(items.size());
String[] dbStrings = getDatabaseStrings(items.size());
for (int i = 0; i < indices.length; i++) {
final int index = indices[i];
for (final int index : this.argumentIndices) {
Expression item = items.get(index);

if ((this.selector == Ref) || ((this.selector == Deref) && (item.isObjectExpression()))) {
Expand Down

0 comments on commit 5b50e5c

Please sign in to comment.