File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ static boolean isSubquery(ParserRuleContext ctx) {
54
54
return true ;
55
55
}
56
56
if (ctx instanceof HqlParser .SelectStatementContext ||
57
- ctx instanceof HqlParser .InsertStatementContext ||
58
- ctx instanceof HqlParser .DeleteStatementContext ||
59
- ctx instanceof HqlParser .UpdateStatementContext
57
+ ctx instanceof HqlParser .InsertStatementContext ||
58
+ ctx instanceof HqlParser .DeleteStatementContext ||
59
+ ctx instanceof HqlParser .UpdateStatementContext
60
60
) {
61
61
return false ;
62
62
}
@@ -73,9 +73,7 @@ static boolean isSubquery(ParserRuleContext ctx) {
73
73
static boolean isSetQuery (ParserRuleContext ctx ) {
74
74
while (ctx != null ) {
75
75
ParserRuleContext parent = ctx .getParent ();
76
-
77
- if (ctx instanceof HqlParser .OrderedQueryContext
78
- && parent instanceof HqlParser .QueryExpressionContext qec ) {
76
+ if (ctx instanceof HqlParser .OrderedQueryContext && parent instanceof HqlParser .QueryExpressionContext qec ) {
79
77
if (qec .orderedQuery ().indexOf (ctx ) != 0 ) {
80
78
return true ;
81
79
}
You can’t perform that action at this time.
0 commit comments