diff --git a/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java b/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java index 8c589b23714a..16cee17148ab 100644 --- a/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java +++ b/instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayScalaStreamedWsClientBaseTest.java @@ -17,11 +17,11 @@ import play.api.libs.ws.StandaloneWSResponse; import play.api.libs.ws.ahc.StandaloneAhcWSClient; import scala.Function1; -import scala.collection.JavaConverters; import scala.concurrent.Await; import scala.concurrent.ExecutionContext; import scala.concurrent.Future; import scala.concurrent.duration.Duration; +import scala.jdk.javaapi.CollectionConverters; import scala.util.Try; public class PlayScalaStreamedWsClientBaseTest extends PlayWsClientBaseTest { @@ -59,7 +59,7 @@ public StandaloneWSRequest buildRequest(String method, URI uri, Map