Skip to content

Commit

Permalink
Update PekkoHttp1020MigrationSpec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Oct 30, 2023
1 parent 75d5e0c commit db3a978
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package docs.http.scaladsl.server
import org.apache.pekko.actor.typed.scaladsl.Behaviors
import org.apache.pekko.http.scaladsl.Http
import org.apache.pekko.http.scaladsl.server.Route
import org.apache.pekko.stream.{ ActorMaterializer, Materializer }
import scala.annotation.nowarn

@nowarn("msg=is deprecated")
Expand All @@ -27,7 +26,6 @@ class PekkoHttp1020MigrationSpec {
// #old-binding
// only worked with classic actor system
implicit val system = org.apache.pekko.actor.ActorSystem("TheSystem")
implicit val mat: Materializer = ActorMaterializer()
val route: Route =
get {
complete("Hello world")
Expand Down

0 comments on commit db3a978

Please sign in to comment.