format source with scalafmt, #26511

This commit is contained in:
Auto Format 2019-03-13 10:56:20 +01:00 committed by Patrik Nordwall
parent 2ba9b988df
commit 75579bed17
779 changed files with 15729 additions and 13096 deletions

View file

@ -144,10 +144,11 @@ private[akka] final class FileSource(path: Path, chunkSize: Int, startPosition:
* INTERNAL API
* Source backed by the given input stream.
*/
@InternalApi private[akka] final class InputStreamSource(createInputStream: () => InputStream,
chunkSize: Int,
val attributes: Attributes,
shape: SourceShape[ByteString])
@InternalApi private[akka] final class InputStreamSource(
createInputStream: () => InputStream,
chunkSize: Int,
val attributes: Attributes,
shape: SourceShape[ByteString])
extends SourceModule[ByteString, Future[IOResult]](shape) {
override def create(context: MaterializationContext) = {
val materializer = ActorMaterializerHelper.downcast(context.materializer)