|
@@ -20,7 +20,7 @@ class AkkaStreamFileProcessingImpl extends AkkaStreamFileProcessing {
|
20
|
20
|
implicit val actorSystem: ActorSystem = ActorSystem("AkkaStreamActor")
|
21
|
21
|
implicit val logger: Logger = Logger(LoggerFactory.getLogger(this.getClass))
|
22
|
22
|
|
23
|
|
- override def getAllMovies(): List[Movie] = {
|
|
23
|
+ override def getAllMovies() = {
|
24
|
24
|
|
25
|
25
|
val source: Source[String, NotUsed] = buildAndValidateSource(inputFile = titleBasics)
|
26
|
26
|
val sink: Sink[Movie, Future[Done]] = buildSink(logger = logger)
|