[COLLECTIONS-691] Use boolean operator for boolean result

This commit is contained in:
Eitan Adler 2018-07-23 00:34:21 -07:00 committed by Bruno P. Kinoshita
parent 4bcd8c12ed
commit 9a6e25230e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
//----------------------------------------------------------------------- //-----------------------------------------------------------------------