mirror of https://github.com/apache/lucene.git
LUCENE-6696: Don't use the forbidden API Collections.shuffle(List).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692533 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9164f21284
commit
068549d8a8
|
@ -64,7 +64,7 @@ public class TestFilterDirectoryReader extends LuceneTestCase {
|
|||
// the original reader once (as per Closeable.close() contract that close() is
|
||||
// idempotent)
|
||||
List<DirectoryReader> readers = Arrays.asList(reader, wrapped);
|
||||
Collections.shuffle(readers);
|
||||
Collections.shuffle(readers, random());
|
||||
IOUtils.close(readers);
|
||||
|
||||
w.close();
|
||||
|
|
Loading…
Reference in New Issue