summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2004-08-20 10:32:28 +0000
committerburaq <buraq@epfl.ch>2004-08-20 10:32:28 +0000
commit6cc9d353dac8826af82e4eae3100933e44d23efa (patch)
tree75ca8b44cf49b956737e36b89f25494d88e63d2d /sources
parentb586442ff3d3b1e37bb486973cfc690a9d028431 (diff)
downloadscala-6cc9d353dac8826af82e4eae3100933e44d23efa.tar.gz
scala-6cc9d353dac8826af82e4eae3100933e44d23efa.tar.bz2
scala-6cc9d353dac8826af82e4eae3100933e44d23efa.zip
accepts Iterable[Node] instead of Seq[Node] in +
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/xml/NodeBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/xml/NodeBuffer.scala b/sources/scala/xml/NodeBuffer.scala
index eafcd4b815..ea50aedf34 100644
--- a/sources/scala/xml/NodeBuffer.scala
+++ b/sources/scala/xml/NodeBuffer.scala
@@ -19,7 +19,7 @@ class NodeBuffer extends scala.collection.mutable.ArrayBuffer[Node] {
override def +(n:Node):NodeBuffer = { super.+( n ); this }
/** append a sequence of nodes to this buffer, returns reference on this NodeBuffer for convenience. */
- def +(ns:Seq[Node]):NodeBuffer = { super.++( ns ); this }
+ def +(ns:Iterable[Node]):NodeBuffer = { super.++( ns ); this }
/** append given string as a scala.xml.Text node to this buffer, returns reference on this NodeBuffer for convenience. */
def +(t:String):NodeBuffer = { super.+( Text( t ) ); this }