Skip to content

Commit

Permalink
Fix GetBuilder and ScanBuilder (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnmt committed Nov 27, 2024
1 parent 6a4fa96 commit 67627fe
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions core/src/main/java/com/scalar/db/api/ScanBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -996,21 +996,11 @@ public static class BuildableScanFromExistingWithOngoingWhere
implements And<BuildableScanFromExistingWithOngoingWhereAnd>,
Or<BuildableScanFromExistingWithOngoingWhereOr> {

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanOrScanAllFromExisting buildable) {
super(buildable);
}

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanOrScanAllFromExisting buildable, ConditionalExpression condition) {
super(buildable, condition);
}

private BuildableScanFromExistingWithOngoingWhere(
BuildableScanFromExistingWithOngoingWhere buildable) {
super(buildable);
}

@Override
public BuildableScanFromExistingWithOngoingWhereAnd and(ConditionalExpression condition) {
checkNotNull(condition);
Expand Down Expand Up @@ -1041,7 +1031,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
}

public static class BuildableScanFromExistingWithOngoingWhereOr
extends BuildableScanFromExistingWithOngoingWhere
extends BuildableScanFromExistingWithWhere
implements Or<BuildableScanFromExistingWithOngoingWhereOr> {

private BuildableScanFromExistingWithOngoingWhereOr(
Expand Down Expand Up @@ -1077,7 +1067,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi
}

public static class BuildableScanFromExistingWithOngoingWhereAnd
extends BuildableScanFromExistingWithOngoingWhere
extends BuildableScanFromExistingWithWhere
implements And<BuildableScanFromExistingWithOngoingWhereAnd> {

private BuildableScanFromExistingWithOngoingWhereAnd(
Expand Down

0 comments on commit 67627fe

Please sign in to comment.