File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class EqlQueryRenderer extends EqlBaseVisitor<QueryTokenStream> {
46
46
*
47
47
* @return boolean
48
48
*/
49
- static boolean isSubquery (ParserRuleContext ctx ) {
49
+ static boolean isSubquery (ParserRuleContext ctx ) {
50
50
51
51
while (ctx != null ) {
52
52
if (ctx instanceof EqlParser .SubqueryContext ) {
@@ -58,24 +58,23 @@ static boolean isSubquery(ParserRuleContext ctx) {
58
58
ctx = ctx .getParent ();
59
59
}
60
60
return false ;
61
- }
61
+ }
62
62
63
63
/**
64
64
* Is this AST tree a {@literal set} query that has been added through {@literal UNION|INTERSECT|EXCEPT}?
65
65
*
66
66
* @return boolean
67
67
*/
68
- static boolean isSetQuery (ParserRuleContext ctx ) {
68
+ static boolean isSetQuery (ParserRuleContext ctx ) {
69
69
70
70
while (ctx != null ) {
71
71
if (ctx instanceof EqlParser .Set_fuctionContext ) {
72
72
return true ;
73
73
}
74
-
75
74
ctx = ctx .getParent ();
76
75
}
77
76
return false ;
78
- }
77
+ }
79
78
80
79
@ Override
81
80
public QueryTokenStream visitStart (EqlParser .StartContext ctx ) {
You can’t perform that action at this time.
0 commit comments