mirror of https://github.com/apache/lucene.git
LUCENE-2989: Fix TestCollectionUtil to not fail on IBM JRE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d0c1b62af
commit
ae382e3a3c
|
@ -91,7 +91,7 @@ public class TestCollectionUtil extends LuceneTestCase {
|
|||
|
||||
// should produce no exceptions
|
||||
public void testEmptyArraySort() {
|
||||
List<Integer> list = Collections.emptyList();
|
||||
List<Integer> list = Arrays.asList(new Integer[0]);
|
||||
CollectionUtil.quickSort(list);
|
||||
CollectionUtil.mergeSort(list);
|
||||
CollectionUtil.insertionSort(list);
|
||||
|
|
Loading…
Reference in New Issue