diff --git a/project/Dependencies.scala b/project/Dependencies.scala index a1e8bd302..439623280 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -20,7 +20,7 @@ object Dependencies { val Scala3 = "3.3.1" val ScalaVersions = Seq(Scala213, Scala212, Scala3) - val PekkoVersion = "1.0.1" + val PekkoVersion = "1.0.2" val PekkoBinaryVersion = "1.0" val InfluxDBJavaVersion = "2.15" diff --git a/xml/src/test/java/docs/javadsl/XmlParsingTest.java b/xml/src/test/java/docs/javadsl/XmlParsingTest.java index 9c63a5be6..bf515af04 100644 --- a/xml/src/test/java/docs/javadsl/XmlParsingTest.java +++ b/xml/src/test/java/docs/javadsl/XmlParsingTest.java @@ -47,6 +47,7 @@ import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; +@SuppressWarnings("deprecation") public class XmlParsingTest { @Rule public final LogCapturingJunit4 logCapturing = new LogCapturingJunit4(); diff --git a/xml/src/test/scala/docs/scaladsl/XmlProcessingSpec.scala b/xml/src/test/scala/docs/scaladsl/XmlProcessingSpec.scala index 08d21ed02..84aba78eb 100644 --- a/xml/src/test/scala/docs/scaladsl/XmlProcessingSpec.scala +++ b/xml/src/test/scala/docs/scaladsl/XmlProcessingSpec.scala @@ -29,6 +29,9 @@ import scala.concurrent.{ Await, Future } import org.scalatest.matchers.should.Matchers import org.scalatest.wordspec.AnyWordSpec +import scala.annotation.nowarn + +@nowarn("msg=deprecated") class XmlProcessingSpec extends AnyWordSpec with Matchers with ScalaFutures with BeforeAndAfterAll with LogCapturing { implicit val system: ActorSystem = ActorSystem("Test") implicit val defaultPatience: PatienceConfig = PatienceConfig(timeout = 2.seconds, interval = 50.millis)