Skip to content

Commit 75f8570

Browse files
committed
Refactor isSetQuery method in EqlQueryRenderer, HqlQueryRenderer, and JpqlQueryRenderer for improved readability
Signed-off-by: KNU-K <[email protected]>
1 parent 17f7ce9 commit 75f8570

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static boolean isSetQuery(ParserRuleContext ctx) {
7171
if (ctx instanceof EqlParser.Set_fuctionContext) {
7272
return true;
7373
}
74+
7475
ctx = ctx.getParent();
7576
}
7677
return false;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static boolean isSetQuery(ParserRuleContext ctx) {
7171
if (ctx instanceof JpqlParser.Set_fuctionContext) {
7272
return true;
7373
}
74+
7475
ctx = ctx.getParent();
7576
}
7677
return false;

0 commit comments

Comments
 (0)