diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-09-05 10:04:37 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-09-05 10:04:37 +0200 |
commit | 8d17136ce64e0071400b136a8e534b044b05af3f (patch) | |
tree | bd6fbc7be270c7998ec17296af125ca2e24e89a2 /container-search | |
parent | 3bab3400da2467bda5c06785c3ac2c8d6d154c12 (diff) |
Nonfunctional changes only
Diffstat (limited to 'container-search')
3 files changed, 3 insertions, 4 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java b/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java index 2c05f2e7edf..eee9949d831 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java @@ -73,8 +73,7 @@ public abstract class CompositeItem extends Item { */ public void addItem(int index, Item item) { if (index > subitems.size() || index < 0) { - throw new IndexOutOfBoundsException( - "Could not add a subitem at position " + index + " to " + this); + throw new IndexOutOfBoundsException("Could not add a subitem at position " + index + " to " + this); } adding(item); subitems.add(index, item); diff --git a/container-search/src/main/java/com/yahoo/prelude/query/NonReducibleCompositeItem.java b/container-search/src/main/java/com/yahoo/prelude/query/NonReducibleCompositeItem.java index 547825cb51c..84aa177369a 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/NonReducibleCompositeItem.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/NonReducibleCompositeItem.java @@ -7,10 +7,9 @@ package com.yahoo.prelude.query; * <p> * Most composites, like AND and OR, are reducible as e.g (AND a) is semantically equal to (a). * <p> - * This type functions as a marked interfaces for query rewriters. + * This type functions as a marker type for query rewriters. * * @author bratseth - * @since 5.1.22 */ public abstract class NonReducibleCompositeItem extends CompositeItem { } diff --git a/container-search/src/main/java/com/yahoo/prelude/query/SameElementItem.java b/container-search/src/main/java/com/yahoo/prelude/query/SameElementItem.java index ca2c5a80283..aa446140da0 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/SameElementItem.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/SameElementItem.java @@ -11,6 +11,7 @@ import java.util.Iterator; * This represents a query where all terms are required to match in the same element id. * The primary usecase is to allow efficient search in arrays and maps of struct. * The common path is the field name containing the struct. + * * @author baldersheim */ @Beta |