changeset 8898:8975674bfabc

concat is moved from Streams to Stream
author henryjen
date Tue, 25 Jun 2013 15:47:24 -0700
parents 5d2bbe0c3b32
children c78083093dab
files test/java/util/stream/Stream/IntStreamTest.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/stream/Stream/IntStreamTest.java	Tue Jun 25 16:27:19 2013 -0400
+++ b/test/java/util/stream/Stream/IntStreamTest.java	Tue Jun 25 15:47:24 2013 -0700
@@ -39,7 +39,6 @@
 import java.util.stream.IntStream;
 import java.util.stream.Stream;
 import java.util.stream.StreamSupport;
-import java.util.stream.Streams;
 import static org.testng.Assert.*;
 import org.testng.annotations.Test;
 
@@ -704,7 +703,7 @@
 
                 for(int i = 0; i < orig.length; i++){
                     final int i1 = i;
-                    sToBeConcated = Streams.concat(sToBeConcated, IntStream.generate(() -> i1 + 1).limit(selected == 3 ? i + 1 : 1 << 6).boxed());
+                    sToBeConcated = Stream.concat(sToBeConcated, IntStream.generate(() -> i1 + 1).limit(selected == 3 ? i + 1 : 1 << 6).boxed());
                 }
                 Iterator<Integer>  is = sToBeConcated.iterator();
                 int pos = 0;