You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/06/13 18:43:42 UTC

[incubator-pekko] branch main updated: Fix Scala 3.3 compile issues

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

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


The following commit(s) were added to refs/heads/main by this push:
     new ba8922c9ba Fix Scala 3.3 compile issues
ba8922c9ba is described below

commit ba8922c9bab2be0f5267a2af36dbafb34b933681
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Tue Jun 13 20:30:38 2023 +0200

    Fix Scala 3.3 compile issues
---
 .../test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala b/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala
index 2e7cd2f74c..4dbeba1bec 100644
--- a/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala
+++ b/osgi/src/test/scala/org/apache/pekko/osgi/ActorSystemActivatorTest.scala
@@ -19,7 +19,6 @@ import scala.concurrent.duration._
 
 import PojoSRTestSupport.bundle
 import de.kalpatec.pojosr.framework.launch.BundleDescriptor
-import language.postfixOps
 import org.scalatest.matchers.should.Matchers
 import org.scalatest.wordspec.AnyWordSpec
 import test.{ PingPongActorSystemActivator, RuntimeNameActorSystemActivator, TestActivators }
@@ -55,7 +54,7 @@ class PingPongActorSystemActivatorTest extends AnyWordSpec with Matchers with Po
         val system = serviceForType[ActorSystem]
         val actor = system.actorSelection("/user/pong")
 
-        implicit val timeout = Timeout(5 seconds)
+        implicit val timeout: Timeout = Timeout(5.seconds)
         Await.result(actor ? Ping, timeout.duration) should be(Pong)
       }
     }


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