test/java/util/Spliterator/SpliteratorCollisions.java

Print this page
rev 7629 : 8015320: Pull spliterator() up from Collection to Iterable
Reviewed-by: psandoz
Contributed-by: brian.goetz@oracle.com
* * *
Promote part of implNote to implSpec
rev 7633 : 8017513: Support for closeable streams
Reviewed-by:
Contributed-by: brian.goetz@oracle.com

@@ -146,11 +146,10 @@
         }
 
         List<Object[]> data = new ArrayList<>();
         for (int size : SIZES) {
             List<HashableInteger> exp = listIntRange(size, true);
-            exp.add(0, null);
             SpliteratorDataBuilder<HashableInteger> db = new SpliteratorDataBuilder<>(data, exp);
 
             // Maps
             db.addMap(HashMap::new);
             db.addMap(LinkedHashMap::new);