77import sqlancer .Randomly ;
88import sqlancer .sqlite3 .SQLite3Visitor ;
99import sqlancer .sqlite3 .schema .SQLite3DataType ;
10- import sqlancer .sqlite3 .schema .SQLite3Schema .SQLite3Column .CollateSequence ;
10+ import sqlancer .sqlite3 .schema .SQLite3Schema .SQLite3Column .SQLite3CollateSequence ;
1111
1212public abstract class SQLite3Constant extends SQLite3Expression {
1313
@@ -29,7 +29,7 @@ public SQLite3DataType getDataType() {
2929 }
3030
3131 @ Override
32- public SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate ) {
32+ public SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate ) {
3333 return SQLite3Constant .createNullConstant ();
3434 }
3535
@@ -54,7 +54,7 @@ public SQLite3Constant castToBoolean() {
5454 }
5555
5656 @ Override
57- public SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate ) {
57+ public SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate ) {
5858 return SQLite3Constant .createNullConstant ();
5959 }
6060
@@ -89,7 +89,7 @@ public SQLite3DataType getDataType() {
8989 }
9090
9191 @ Override
92- public SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate ) {
92+ public SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate ) {
9393 if (right instanceof SQLite3RealConstant ) {
9494 if (Double .isInfinite (right .asDouble ())) {
9595 return SQLite3Constant .createFalse ();
@@ -128,7 +128,7 @@ public SQLite3Constant castToBoolean() {
128128 }
129129
130130 @ Override
131- public SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate ) {
131+ public SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate ) {
132132 if (right .isNull ()) {
133133 return right ;
134134 } else if (right .getDataType () == SQLite3DataType .TEXT || right .getDataType () == SQLite3DataType .BINARY ) {
@@ -180,7 +180,7 @@ public SQLite3DataType getDataType() {
180180 }
181181
182182 @ Override
183- public SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate ) {
183+ public SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate ) {
184184 if (right instanceof SQLite3RealConstant ) {
185185 return SQLite3Constant .createBoolean (value == right .asDouble ());
186186 } else if (right instanceof SQLite3IntConstant ) {
@@ -219,7 +219,7 @@ public SQLite3Constant castToBoolean() {
219219 }
220220
221221 @ Override
222- public SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate ) {
222+ public SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate ) {
223223 if (right .isNull ()) {
224224 return right ;
225225 } else if (right .getDataType () == SQLite3DataType .TEXT || right .getDataType () == SQLite3DataType .BINARY ) {
@@ -274,7 +274,7 @@ public SQLite3DataType getDataType() {
274274
275275
276276 @ Override
277- public SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate ) {
277+ public SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate ) {
278278 if (right .isNull ()) {
279279 return SQLite3Constant .createNullConstant ();
280280 } else if (right instanceof SQLite3TextConstant ) {
@@ -382,7 +382,7 @@ public SQLite3Constant castToBoolean() {
382382 }
383383
384384 @ Override
385- public SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate ) {
385+ public SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate ) {
386386 if (right .isNull ()) {
387387 return right ;
388388 } else if (right .getDataType () == SQLite3DataType .BINARY ) {
@@ -467,7 +467,7 @@ String getStringRepresentation() {
467467 }
468468
469469 @ Override
470- public SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate ) {
470+ public SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate ) {
471471 if (right .isNull ()) {
472472 return SQLite3Constant .createNullConstant ();
473473 } else if (right .getDataType () == SQLite3DataType .BINARY ) {
@@ -493,7 +493,7 @@ public SQLite3Constant castToBoolean() {
493493 }
494494
495495 @ Override
496- public SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate ) {
496+ public SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate ) {
497497 if (right .isNull ()) {
498498 return right ;
499499 } else if (right .getDataType () == SQLite3DataType .TEXT || right .getDataType () == SQLite3DataType .INT
@@ -573,7 +573,7 @@ public SQLite3Constant getExpectedValue() {
573573 }
574574
575575 @ Override
576- public CollateSequence getExplicitCollateSequence () {
576+ public SQLite3CollateSequence getExplicitCollateSequence () {
577577 return null ;
578578 }
579579
@@ -598,14 +598,14 @@ public static SQLite3Constant createBoolean(boolean tr) {
598598 return new SQLite3Constant .SQLite3IntConstant (tr ? 1 : 0 );
599599 }
600600
601- public abstract SQLite3Constant applyEquals (SQLite3Constant right , CollateSequence collate );
601+ public abstract SQLite3Constant applyEquals (SQLite3Constant right , SQLite3CollateSequence collate );
602602
603- public abstract SQLite3Constant applyLess (SQLite3Constant right , CollateSequence collate );
603+ public abstract SQLite3Constant applyLess (SQLite3Constant right , SQLite3CollateSequence collate );
604604
605605 public abstract SQLite3Constant castToBoolean ();
606606
607607 public SQLite3Constant applyEquals (SQLite3Constant right ) {
608- return applyEquals (right , CollateSequence .BINARY );
608+ return applyEquals (right , SQLite3CollateSequence .BINARY );
609609 }
610610
611611 public boolean isReal () {
0 commit comments