@@ -31,7 +31,7 @@ protected Arr(final InputInfo ii, final Expr... e) {
31
31
32
32
@ Override
33
33
public void checkUp () throws QueryException {
34
- checkNoUp ( );
34
+ checkNoneUp ( expr );
35
35
}
36
36
37
37
@ Override
@@ -59,8 +59,8 @@ public VarUsage count(final Var v) {
59
59
}
60
60
61
61
@ Override
62
- public Expr inline (final QueryContext ctx , final VarScope scp ,
63
- final Var v , final Expr e ) throws QueryException {
62
+ public Expr inline (final QueryContext ctx , final VarScope scp , final Var v , final Expr e )
63
+ throws QueryException {
64
64
return inlineAll (ctx , scp , expr , v , e ) ? optimize (ctx , scp ) : null ;
65
65
}
66
66
@@ -74,8 +74,8 @@ public Expr inline(final QueryContext ctx, final VarScope scp,
74
74
* @return deep copy of the array
75
75
*/
76
76
@ SuppressWarnings ("unchecked" )
77
- public static <T extends Expr > T [] copyAll (final QueryContext ctx ,
78
- final VarScope scp , final IntObjMap <Var > vs , final T [] arr ) {
77
+ public static <T extends Expr > T [] copyAll (final QueryContext ctx , final VarScope scp ,
78
+ final IntObjMap <Var > vs , final T [] arr ) {
79
79
final T [] copy = arr .clone ();
80
80
for (int i = 0 ; i < copy .length ; i ++) copy [i ] = (T ) copy [i ].copy (ctx , scp , vs );
81
81
return copy ;
@@ -106,14 +106,6 @@ final boolean oneIsEmpty() {
106
106
return false ;
107
107
}
108
108
109
- /**
110
- * Checks if none of the expressions are updating expressions.
111
- * @throws QueryException query exception
112
- */
113
- final void checkNoUp () throws QueryException {
114
- checkNoneUp (expr );
115
- }
116
-
117
109
@ Override
118
110
public void plan (final FElem plan ) {
119
111
addPlan (plan , planElem (), expr );
0 commit comments