From 95b5d6da1de6d15183bcdd6f65d64e329371ea59 Mon Sep 17 00:00:00 2001 From: Hiroyuki Yamada Date: Wed, 27 Nov 2024 17:55:58 +0900 Subject: [PATCH] Backport to branch(3.12) : Fix GetBuilder and ScanBuilder (#2359) Co-authored-by: Jun <35618893+jnmt@users.noreply.github.com> --- .../main/java/com/scalar/db/api/ScanBuilder.java | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/core/src/main/java/com/scalar/db/api/ScanBuilder.java b/core/src/main/java/com/scalar/db/api/ScanBuilder.java index 47f6166989..661e781b81 100644 --- a/core/src/main/java/com/scalar/db/api/ScanBuilder.java +++ b/core/src/main/java/com/scalar/db/api/ScanBuilder.java @@ -1004,21 +1004,11 @@ public static class BuildableScanFromExistingWithOngoingWhere implements And, Or { - 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); @@ -1049,7 +1039,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi } public static class BuildableScanFromExistingWithOngoingWhereOr - extends BuildableScanFromExistingWithOngoingWhere + extends BuildableScanFromExistingWithWhere implements Or { private BuildableScanFromExistingWithOngoingWhereOr( @@ -1085,7 +1075,7 @@ public BuildableScanFromExistingWithOngoingWhereOr or(AndConditionSet andConditi } public static class BuildableScanFromExistingWithOngoingWhereAnd - extends BuildableScanFromExistingWithOngoingWhere + extends BuildableScanFromExistingWithWhere implements And { private BuildableScanFromExistingWithOngoingWhereAnd(