Skip to content

Commit b0143bd

Browse files
author
Mike Mannion
committed
HHH-19497 Remove redundant code.
1 parent 772cac5 commit b0143bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7664,15 +7664,15 @@ else if ( !dialect.supportsRowValueConstructorSyntaxInInList() ) {
76647664
if (inListPredicate.isNegated()) {
76657665
appendSql("not ");
76667666
}
7667-
String separator = NO_SEPARATOR;
76687667
appendSql( OPEN_PARENTHESIS );
7668+
String separator = NO_SEPARATOR;
76697669
for (Expression expression : listExpressions) {
76707670
appendSql(separator);
76717671
emulateTupleComparison(
7672-
lhsTuple.getExpressions(),
7673-
SqlTupleContainer.getSqlTuple(expression).getExpressions(),
7672+
lhsTuple.getExpressions(),
7673+
SqlTupleContainer.getSqlTuple(expression).getExpressions(),
76747674
ComparisonOperator.EQUAL,
7675-
true
7675+
true
76767676
);
76777677
separator = " or ";
76787678
}

0 commit comments

Comments
 (0)