Skip to content

Commit 3d723a7

Browse files
authored
Merge pull request #516 from ashawley/drop-logging
Drop deprecated logging
2 parents 2d7e1d7 + 4a9a9c8 commit 3d723a7

File tree

3 files changed

+3
-98
lines changed

3 files changed

+3
-98
lines changed

build.sbt

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
6666
import com.typesafe.tools.mima.core._
6767
import com.typesafe.tools.mima.core.ProblemFilters._
6868
Seq(
69+
// Deprecated in 2.0.0-RC2
70+
exclude[MissingClassProblem]("scala.xml.factory.LoggedNodeFactory"),
71+
exclude[DirectMissingMethodProblem]("scala.xml.parsing.MarkupHandler.log"),
6972
// because we reverted #279
7073
exclude[DirectMissingMethodProblem]("scala.xml.Utility.escapeText"),
7174
exclude[MissingClassProblem]("scala.xml.Properties*"),

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

-95
This file was deleted.

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

-3
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)