[COLLECTIONS-691] Use boolean operator for boolean result
This commit is contained in:
parent
4bcd8c12ed
commit
9a6e25230e
|
@ -153,7 +153,7 @@ public class GrowthList<E> extends AbstractSerializableListDecorator<E> {
|
||||||
decorated().addAll(Collections.<E>nCopies(index - size, null));
|
decorated().addAll(Collections.<E>nCopies(index - size, null));
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
return decorated().addAll(index, coll) | result;
|
return decorated().addAll(index, coll) || result;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue