summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java b/container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java
index 2d89795a90f..e0edf9f9894 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java
@@ -116,20 +116,6 @@ public class DimensionBinding {
}
/**
- * Returns whether this is compatible with the given binding.
- * Two bindings are compatible if the bind the same values of all shared keys.
- */
- public boolean isCompatibleWith(DimensionBinding other) {
- for (String dimensionInOther : other.dimensions) {
- String thisValue = this.getContext().get(dimensionInOther);
- if (thisValue == null) continue;
- if ( ! thisValue.equals(other.getContext().get(dimensionInOther)))
- return false;
- }
- return true;
- }
-
- /**
* Combines this binding with another if compatible.
* Two bindings are incompatible if
* <ul>