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 1399695 commit 9a8352fCopy full SHA for 9a8352f
shared/src/main/scala/scala/xml/NodeSeq.scala
@@ -26,7 +26,7 @@ import scala.collection.Seq
26
object NodeSeq {
27
final val Empty: NodeSeq = fromSeq(Nil)
28
def fromSeq(s: Seq[Node]): NodeSeq = new NodeSeq {
29
- override def theSeq: ScalaVersionSpecific.SeqOfNode = s match {
+ override val theSeq: ScalaVersionSpecific.SeqOfNode = s match {
30
case ns: ScalaVersionSpecific.SeqOfNode => ns
31
case _ => s.toVector
32
}
0 commit comments