Skip to content

Commit bca9473

Browse files
committed
Fix GetBuilder and ScanBuilder (#2352)
1 parent 51e178c commit bca9473

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
@@ -1033,21 +1033,11 @@ public static class BuildableGetFromExistingWithOngoingWhere
10331033
implements And<BuildableGetFromExistingWithOngoingWhereAnd>,
10341034
Or<BuildableGetFromExistingWithOngoingWhereOr> {
10351035

1036-
private BuildableGetFromExistingWithOngoingWhere(
1037-
BuildableGetOrGetWithIndexFromExisting buildable) {
1038-
super(buildable);
1039-
}
1040-
10411036
private BuildableGetFromExistingWithOngoingWhere(
10421037
BuildableGetOrGetWithIndexFromExisting buildable, ConditionalExpression condition) {
10431038
super(buildable, condition);
10441039
}
10451040

1046-
private BuildableGetFromExistingWithOngoingWhere(
1047-
BuildableGetFromExistingWithOngoingWhere buildable) {
1048-
super(buildable);
1049-
}
1050-
10511041
@Override
10521042
public BuildableGetFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
10531043
checkNotNull(condition);
@@ -1078,7 +1068,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
10781068
}
10791069

10801070
public static class BuildableGetFromExistingWithOngoingWhereOr
1081-
extends BuildableGetFromExistingWithOngoingWhere
1071+
extends BuildableGetFromExistingWithWhere
10821072
implements Or<BuildableGetFromExistingWithOngoingWhereOr> {
10831073

10841074
private BuildableGetFromExistingWithOngoingWhereOr(
@@ -1114,7 +1104,7 @@ public BuildableGetFromExistingWithOngoingWhereOr or(AndConditionSet andConditio
11141104
}
11151105

11161106
public static class BuildableGetFromExistingWithOngoingWhereAnd
1117-
extends BuildableGetFromExistingWithOngoingWhere
1107+
extends BuildableGetFromExistingWithWhere
11181108
implements And<BuildableGetFromExistingWithOngoingWhereAnd> {
11191109

11201110
private BuildableGetFromExistingWithOngoingWhereAnd(

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

+2-12
Original file line numberDiff line numberDiff line change
@@ -1624,21 +1624,11 @@ public static class BuildableScanFromExistingWithOngoingWhere
16241624
implements And<BuildableScanFromExistingWithOngoingWhereAnd>,
16251625
Or<BuildableScanFromExistingWithOngoingWhereOr> {
16261626

1627-
private BuildableScanFromExistingWithOngoingWhere(
1628-
BuildableScanOrScanAllFromExisting buildable) {
1629-
super(buildable);
1630-
}
1631-
16321627
private BuildableScanFromExistingWithOngoingWhere(
16331628
BuildableScanOrScanAllFromExisting buildable, ConditionalExpression condition) {
16341629
super(buildable, condition);
16351630
}
16361631

1637-
private BuildableScanFromExistingWithOngoingWhere(
1638-
BuildableScanFromExistingWithOngoingWhere buildable) {
1639-
super(buildable);
1640-
}
1641-
16421632
@Override
16431633
public BuildableScanFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
16441634
checkNotNull(condition);
@@ -1669,7 +1659,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
16691659
}
16701660

16711661
public static class BuildableScanFromExistingWithOngoingWhereOr
1672-
extends BuildableScanFromExistingWithOngoingWhere
1662+
extends BuildableScanFromExistingWithWhere
16731663
implements Or<BuildableScanFromExistingWithOngoingWhereOr> {
16741664

16751665
private BuildableScanFromExistingWithOngoingWhereOr(
@@ -1705,7 +1695,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
17051695
}
17061696

17071697
public static class BuildableScanFromExistingWithOngoingWhereAnd
1708-
extends BuildableScanFromExistingWithOngoingWhere
1698+
extends BuildableScanFromExistingWithWhere
17091699
implements And<BuildableScanFromExistingWithOngoingWhereAnd> {
17101700

17111701
private BuildableScanFromExistingWithOngoingWhereAnd(

0 commit comments

Comments
 (0)