Skip to content

Commit e2f516d

Browse files
committed
Fix GetBuilder and ScanBuilder (#2352)
1 parent b508b03 commit e2f516d

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

core/src/main/java/com/scalar/db/api/GetBuilder.java

+2-12
Original file line numberDiff line numberDiff line change
@@ -902,21 +902,11 @@ public static class BuildableGetFromExistingWithOngoingWhere
902902
implements And<BuildableGetFromExistingWithOngoingWhereAnd>,
903903
Or<BuildableGetFromExistingWithOngoingWhereOr> {
904904

905-
private BuildableGetFromExistingWithOngoingWhere(
906-
BuildableGetOrGetWithIndexFromExisting buildable) {
907-
super(buildable);
908-
}
909-
910905
private BuildableGetFromExistingWithOngoingWhere(
911906
BuildableGetOrGetWithIndexFromExisting buildable, ConditionalExpression condition) {
912907
super(buildable, condition);
913908
}
914909

915-
private BuildableGetFromExistingWithOngoingWhere(
916-
BuildableGetFromExistingWithOngoingWhere buildable) {
917-
super(buildable);
918-
}
919-
920910
@Override
921911
public BuildableGetFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
922912
checkNotNull(condition);
@@ -947,7 +937,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
947937
}
948938

949939
public static class BuildableGetFromExistingWithOngoingWhereOr
950-
extends BuildableGetFromExistingWithOngoingWhere
940+
extends BuildableGetFromExistingWithWhere
951941
implements Or<BuildableGetFromExistingWithOngoingWhereOr> {
952942

953943
private BuildableGetFromExistingWithOngoingWhereOr(
@@ -983,7 +973,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
983973
}
984974

985975
public static class BuildableGetFromExistingWithOngoingWhereAnd
986-
extends BuildableGetFromExistingWithOngoingWhere
976+
extends BuildableGetFromExistingWithWhere
987977
implements And<BuildableGetFromExistingWithOngoingWhereAnd> {
988978

989979
private BuildableGetFromExistingWithOngoingWhereAnd(

core/src/main/java/com/scalar/db/api/ScanBuilder.java

+2-12
Original file line numberDiff line numberDiff line change
@@ -1465,21 +1465,11 @@ public static class BuildableScanFromExistingWithOngoingWhere
14651465
implements And<BuildableScanFromExistingWithOngoingWhereAnd>,
14661466
Or<BuildableScanFromExistingWithOngoingWhereOr> {
14671467

1468-
private BuildableScanFromExistingWithOngoingWhere(
1469-
BuildableScanOrScanAllFromExisting buildable) {
1470-
super(buildable);
1471-
}
1472-
14731468
private BuildableScanFromExistingWithOngoingWhere(
14741469
BuildableScanOrScanAllFromExisting buildable, ConditionalExpression condition) {
14751470
super(buildable, condition);
14761471
}
14771472

1478-
private BuildableScanFromExistingWithOngoingWhere(
1479-
BuildableScanFromExistingWithOngoingWhere buildable) {
1480-
super(buildable);
1481-
}
1482-
14831473
@Override
14841474
public BuildableScanFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
14851475
checkNotNull(condition);
@@ -1510,7 +1500,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
15101500
}
15111501

15121502
public static class BuildableScanFromExistingWithOngoingWhereOr
1513-
extends BuildableScanFromExistingWithOngoingWhere
1503+
extends BuildableScanFromExistingWithWhere
15141504
implements Or<BuildableScanFromExistingWithOngoingWhereOr> {
15151505

15161506
private BuildableScanFromExistingWithOngoingWhereOr(
@@ -1546,7 +1536,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
15461536
}
15471537

15481538
public static class BuildableScanFromExistingWithOngoingWhereAnd
1549-
extends BuildableScanFromExistingWithOngoingWhere
1539+
extends BuildableScanFromExistingWithWhere
15501540
implements And<BuildableScanFromExistingWithOngoingWhereAnd> {
15511541

15521542
private BuildableScanFromExistingWithOngoingWhereAnd(

0 commit comments

Comments
 (0)