+doc Add more imports to the stream quick start guides for Java and Scala (#20797)

* Add more imports to the stream quick start guides.

This makes it easier for people to execute the code samples while they
read through the guide.

* Change line endings to be consistent with other files

For some reason these 2 files had CR+LF line endings.
This commit is contained in:
Chris Birchall 2016-06-18 11:15:17 +02:00 committed by Konrad Malawski
parent a9cb8ab4b5
commit f246c56087
4 changed files with 692 additions and 677 deletions

View file

@ -3,23 +3,27 @@
*/
package docs.stream;
//#stream-imports
import akka.stream.*;
import akka.stream.javadsl.*;
//#stream-imports
//#other-imports
import akka.Done;
import akka.NotUsed;
import akka.actor.ActorSystem;
import akka.util.ByteString;
import java.nio.file.Paths;
import java.math.BigInteger;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import akka.Done;
import akka.NotUsed;
import akka.actor.ActorSystem;
//#imports
import akka.stream.*;
import akka.stream.javadsl.*;
//#imports
import akka.util.ByteString;
import scala.concurrent.duration.Duration;
//#other-imports
import org.junit.*;
/**
* This class is not meant to be run as a test in the test suite, but it