Skip to content

Commit 196af40

Browse files
committed
Drop trait XMLEvent from Document and SpecialNode classes
1 parent bf2ed57 commit 196af40

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

shared/src/main/scala/scala/xml/Document.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import scala.collection.Seq
2020
* @author Burak Emir
2121
*/
2222
@SerialVersionUID(-2289320563321795109L)
23-
class Document extends NodeSeq with pull.XMLEvent with Serializable {
23+
class Document extends NodeSeq with Serializable {
2424

2525
/**
2626
* An ordered list of child information items, in document

shared/src/main/scala/scala/xml/SpecialNode.scala

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ package xml
1313
* `SpecialNode` is a special XML node which represents either text
1414
* `(PCDATA)`, a comment, a `PI`, or an entity ref.
1515
*
16-
* `SpecialNode`s also play the role of [[scala.xml.pull.XMLEvent]]s for
17-
* pull-parsing.
18-
*
1916
* @author Burak Emir
2017
*/
21-
abstract class SpecialNode extends Node with pull.XMLEvent {
18+
abstract class SpecialNode extends Node {
2219

2320
/** always empty */
2421
final override def attributes = Null

0 commit comments

Comments
 (0)