replace unicode arrows

* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
This commit is contained in:
Patrik Nordwall 2019-02-09 15:25:39 +01:00
parent e4d38f92a4
commit 5c96a5f556
1521 changed files with 18846 additions and 18786 deletions

View file

@ -70,7 +70,7 @@ class MapAsyncBenchmark {
val latch = new CountDownLatch(1)
testSource
.mapAsync(parallelism)(elem if (spawn) Future(elem) else Future.successful(elem))
.mapAsync(parallelism)(elem => if (spawn) Future(elem) else Future.successful(elem))
.runWith(new LatchSink(OperationsPerInvocation, latch))(materializer)
awaitLatch(latch)
@ -82,7 +82,7 @@ class MapAsyncBenchmark {
val latch = new CountDownLatch(1)
testSource
.mapAsyncUnordered(parallelism)(elem if (spawn) Future(elem) else Future.successful(elem))
.mapAsyncUnordered(parallelism)(elem => if (spawn) Future(elem) else Future.successful(elem))
.runWith(new LatchSink(OperationsPerInvocation, latch))(materializer)
awaitLatch(latch)