From ba8922c9bab2be0f5267a2af36dbafb34b933681 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Tue, 13 Jun 2023 20:30:38 +0200 Subject: [PATCH] Fix Scala 3.3 compile issues --- .../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) } }