=str #16652 Convert 'Working with Graphs' to java

* fixed missing or wrong javadsl
This commit is contained in:
Patrik Nordwall 2015-01-16 17:55:03 +01:00
parent 84a5505ca9
commit ed832ea7a9
6 changed files with 289 additions and 22 deletions

View file

@ -105,8 +105,8 @@ class StreamPartialFlowGraphDocSpec extends AkkaSpec {
}
val firstPair: Future[(Int, Int)] = pairs.runWith(Sink.head)
Await.result(firstPair, 300.millis) should equal(1 2)
//#source-from-partial-flow-graph
Await.result(firstPair, 300.millis) should equal(1 -> 2)
}
"build flow from partial flow graph" in {
@ -140,6 +140,6 @@ class StreamPartialFlowGraphDocSpec extends AkkaSpec {
//#flow-from-partial-flow-graph
// format: ON
Await.result(matSink, 300.millis) should equal(1 "1")
Await.result(matSink, 300.millis) should equal(1 -> "1")
}
}