Fix several minor typos detected by github.com/client9/misspell (#25448)

* Fix several minor typos detected by github.com/client9/misspell

* Revert s/erminater/erminator/ in /ActorSystemSpec
This commit is contained in:
Kazuhiro Sera 2018-08-21 11:02:37 +09:00 committed by Konrad `ktoso` Malawski
parent fddc198178
commit 482eaea122
70 changed files with 102 additions and 102 deletions

View file

@ -20,7 +20,7 @@ class ByteBufferSerializerDocSpec {
// Implement this method for compatibility with `SerializerWithStringManifest`.
override def toBinary(o: AnyRef): Array[Byte] = {
// in production code, aquire this from a BufferPool
// in production code, acquire this from a BufferPool
val buf = ByteBuffer.allocate(256)
toBinary(o, buf)

View file

@ -117,7 +117,7 @@ class StreamPartialGraphDSLDocSpec extends AkkaSpec {
val actorRef: ActorRef = testActor
//#sink-combine
val sendRmotely = Sink.actorRef(actorRef, "Done")
val localProcessing = Sink.foreach[Int](_ /* do something usefull */ ())
val localProcessing = Sink.foreach[Int](_ /* do something useful */ ())
val sink = Sink.combine(sendRmotely, localProcessing)(Broadcast[Int](_))