We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f27d8 commit 766c05aCopy full SHA for 766c05a
shared/src/main/scala/scala/xml/MetaData.scala
@@ -225,4 +225,6 @@ abstract class MetaData
225
226
final def remove(namespace: String, owner: Node, key: String): MetaData =
227
remove(namespace, owner.scope, key)
228
+
229
+ protected[this] override def writeReplace(): AnyRef = this
230
}
shared/src/main/scala/scala/xml/NodeSeq.scala
@@ -158,4 +158,6 @@ abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with S
158
override def toString(): String = theSeq.mkString
159
160
def text: String = (this map (_.text)).mkString
161
162
163
0 commit comments