summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/query/CompositeItem.java3
1 files changed, 1 insertions, 2 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);