diff options
author | buraq <buraq@epfl.ch> | 2004-02-11 18:41:44 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-02-11 18:41:44 +0000 |
commit | fb462ea1b336dbb9b6b71f4a835d6f6071ef9611 (patch) | |
tree | 4aaa71b8033d417a2a6c67bce73417e8c6ba9ce4 | |
parent | c9ced67aa4af57c87b03af07b421f34ac4218c2b (diff) | |
download | scala-fb462ea1b336dbb9b6b71f4a835d6f6071ef9611.tar.gz scala-fb462ea1b336dbb9b6b71f4a835d6f6071ef9611.tar.bz2 scala-fb462ea1b336dbb9b6b71f4a835d6f6071ef9611.zip |
NodeList -> NodeSeq
-rw-r--r-- | sources/scala/Symbol.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/Symbol.scala b/sources/scala/Symbol.scala index e38dcdcde1..2c038761f5 100644 --- a/sources/scala/Symbol.scala +++ b/sources/scala/Symbol.scala @@ -11,7 +11,7 @@ package scala; import org.xml.sax.InputSource; -import scala.xml.{AttributedNode,Node,NodeList, Text,Utility}; +import scala.xml.{AttributedNode,Node,NodeSeq, Text,Utility}; import scala.collection.immutable.Map; import scala.collection.immutable.ListMap; @@ -35,7 +35,7 @@ case class Symbol(name: String, elems: Any*) extends AttributedNode { /** Returns the list of children of this symbol. */ - def children: NodeList = new NodeList( List.fromIterator( + def children: NodeSeq = new NodeSeq( List.fromIterator( elems.elements map ( x => x match { case n:Node => n; case _ => Text(x.toString()); |