Skip to content

Commit 5c2b6fc

Browse files
authored
remove unnecessary nowarn (#792)
1 parent 340ea15 commit 5c2b6fc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

http-core/src/main/scala/org/apache/pekko/http/javadsl/settings/ParserSettings.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import pekko.http.impl.util.JavaMapping.Implicits._
2525
import pekko.http.javadsl.model.{ HttpMethod, MediaType, StatusCode, Uri }
2626
import com.typesafe.config.Config
2727

28-
import scala.annotation.nowarn
2928
import scala.annotation.varargs
3029
import scala.jdk.CollectionConverters._
3130

@@ -137,7 +136,6 @@ object ParserSettings extends SettingsCompanion[ParserSettings] {
137136
*/
138137
@Deprecated
139138
@deprecated("Use forServer or forClient instead", since = "Akka HTTP 10.2.0")
140-
@nowarn("msg=deprecated")
141139
override def create(system: ActorSystem): ParserSettings = create(system.settings.config)
142140

143141
def forServer(system: ClassicActorSystemProvider): ParserSettings =

0 commit comments

Comments
 (0)