You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/10/30 14:35:16 UTC

(incubator-pekko-grpc) branch main updated: remove ActorMaterializer (#186)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-grpc.git


The following commit(s) were added to refs/heads/main by this push:
     new 0427d375 remove ActorMaterializer (#186)
0427d375 is described below

commit 0427d3751c9d20477036ad751985e7ae4dd43124
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Mon Oct 30 14:35:11 2023 +0000

    remove ActorMaterializer (#186)
---
 .../02-multiple-services/src/main/scala/example/myapp/Main.scala        | 2 --
 .../src/main/scala/example/myapp/helloworld/Main.scala                  | 1 -
 2 files changed, 3 deletions(-)

diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/src/main/scala/example/myapp/Main.scala b/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/src/main/scala/example/myapp/Main.scala
index d7c4d970..7170b3af 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/src/main/scala/example/myapp/Main.scala
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/src/main/scala/example/myapp/Main.scala
@@ -15,7 +15,6 @@ import javax.net.ssl.{ KeyManagerFactory, SSLContext }
 
 import org.apache.pekko
 import pekko.actor.ActorSystem
-import pekko.stream.ActorMaterializer
 import pekko.grpc.scaladsl.ServiceHandler
 import pekko.http.scaladsl.{ Http, HttpsConnectionContext }
 
@@ -27,7 +26,6 @@ import example.myapp.helloworld.grpc.GreeterServiceHandler
 
 object Main extends App {
   implicit val system = ActorSystem()
-  implicit val mat = ActorMaterializer()
 
   val echoHandler = EchoServiceHandler.partial(new EchoServiceImpl)
   val greeterHandler = GreeterServiceHandler.partial(new GreeterServiceImpl)
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/src/main/scala/example/myapp/helloworld/Main.scala b/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/src/main/scala/example/myapp/helloworld/Main.scala
index bc5be885..2a32b283 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/src/main/scala/example/myapp/helloworld/Main.scala
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/src/main/scala/example/myapp/helloworld/Main.scala
@@ -35,7 +35,6 @@ object Main extends App {
     .withFallback(ConfigFactory.defaultApplication())
   implicit val sys = ActorSystem("HelloWorld", conf)
 
-  implicit val mat: Materializer = ActorMaterializer()
   implicit val ec: ExecutionContext = sys.dispatcher
 
   // #server-reflection


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org