diff options
author | Jon Bratseth <bratseth@gmail.com> | 2020-06-30 21:42:15 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2020-06-30 21:42:15 +0200 |
commit | 89a7efc22cf9c8362ab96cd9b72c8910c2446caa (patch) | |
tree | 49118292ea761c311f3ac34e1f0f124d2befa34e | |
parent | 44d166fc0f0edfd98bad17c45c05e1ca412255f9 (diff) |
Remove unused method
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java | 14 |
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> |