Skip to content

Commit 4a9a9c8

Browse files
committed
Remove deprecated logging
1 parent ad0c9a2 commit 4a9a9c8

File tree

3 files changed

+3
-98
lines changed

3 files changed

+3
-98
lines changed

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
6464
import com.typesafe.tools.mima.core._
6565
import com.typesafe.tools.mima.core.ProblemFilters._
6666
Seq(
67+
// Deprecated in 2.0.0-RC2
68+
exclude[MissingClassProblem]("scala.xml.factory.LoggedNodeFactory"),
69+
exclude[DirectMissingMethodProblem]("scala.xml.parsing.MarkupHandler.log"),
6770
// because we reverted #279
6871
exclude[DirectMissingMethodProblem]("scala.xml.Utility.escapeText"),
6972
// New MiMa checks for generic signature changes

shared/src/main/scala/scala/xml/factory/LoggedNodeFactory.scala

Lines changed: 0 additions & 95 deletions
This file was deleted.

shared/src/main/scala/scala/xml/parsing/MarkupHandler.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,4 @@ abstract class MarkupHandler {
129129
def unparsedEntityDecl(name: String, extID: ExternalID, notat: String): Unit = ()
130130
def notationDecl(notat: String, extID: ExternalID): Unit = ()
131131
def reportSyntaxError(pos: Int, str: String): Unit
132-
133-
@deprecated("This method and its usages will be removed. Use a debugger to debug code.", "2.11")
134-
def log(msg: String): Unit = {}
135132
}

0 commit comments

Comments
 (0)