Skip to content

Commit a42045f

Browse files
committed
Refactor isSetQuery method in HqlQueryRenderer for improved readability
Signed-off-by: KNU-K <[email protected]>
1 parent 3a92ca8 commit a42045f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/HqlQueryRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static boolean isSubquery(ParserRuleContext ctx) {
7373
static boolean isSetQuery(ParserRuleContext ctx) {
7474
while (ctx != null) {
7575
ParserRuleContext parent = ctx.getParent();
76-
76+
7777
if (ctx instanceof HqlParser.OrderedQueryContext
7878
&& parent instanceof HqlParser.QueryExpressionContext qec) {
7979
if (qec.orderedQuery().indexOf(ctx) != 0) {

0 commit comments

Comments
 (0)