diff --git a/src/main/java/org/apache/commons/collections4/list/GrowthList.java b/src/main/java/org/apache/commons/collections4/list/GrowthList.java index b81802e0c..ca329f985 100644 --- a/src/main/java/org/apache/commons/collections4/list/GrowthList.java +++ b/src/main/java/org/apache/commons/collections4/list/GrowthList.java @@ -153,7 +153,7 @@ public class GrowthList extends AbstractSerializableListDecorator { decorated().addAll(Collections.nCopies(index - size, null)); result = true; } - return decorated().addAll(index, coll) | result; + return decorated().addAll(index, coll) || result; } //-----------------------------------------------------------------------