Skip to content

Commit 0029cbd

Browse files
socadriaanm
authored andcommitted
Clean up standard/swing library by deprecating/moving code examples
Deprecate scala/xml/include/sax/Main.scala. Move scala/swing/test/* to docs/examples. Saves 160KB in scala-swing.jar. Fixes SI-4627.
1 parent b028a11 commit 0029cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/xml/include/sax/Main.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
package scala.xml
1111
package include.sax
1212

13-
import scala.xml.include._
1413
import scala.util.control.Exception.{ catching, ignoring }
1514
import org.xml.sax.XMLReader
1615
import org.xml.sax.helpers.XMLReaderFactory
1716

17+
@deprecated("Code example will be moved to documentation.", "2.10.0")
1818
object Main {
1919
private val namespacePrefixes = "http://xml.org/sax/features/namespace-prefixes"
2020
private val lexicalHandler = "http://xml.org/sax/properties/lexical-handler"

0 commit comments

Comments
 (0)