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/pekko-http.git
The following commit(s) were added to refs/heads/main by this push:
new 116af4336 ignore compiler warnings about using Java's `@Deprecated`
(#717)
116af4336 is described below
commit 116af4336318adb2c82942c3e16e4bf9e27c971b
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Aug 23 10:43:12 2025 +0100
ignore compiler warnings about using Java's `@Deprecated` (#717)
---
project/Common.scala | 1 +
1 file changed, 1 insertion(+)
diff --git a/project/Common.scala b/project/Common.scala
index b76ba7a8f..260f012ec 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -30,6 +30,7 @@ object Common extends AutoPlugin {
"-Wconf:msg=object JavaConverters in package collection is deprecated:s",
"-Wconf:msg=is deprecated \\(since 2\\.13\\.:s",
"-Wconf:msg=reached max recursion depth:s",
+ "-Wconf:msg=Prefer the Scala annotation over Java's `@Deprecated`:s",
"-release:8"),
scalacOptions ++= onlyOnScala2(Seq(
"-Xlint",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]