diff options
author | buraq <buraq@epfl.ch> | 2004-07-19 09:45:52 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-07-19 09:45:52 +0000 |
commit | 8e297c9a6eaefeb921769ecf8b1cbd0a6606a46f (patch) | |
tree | a1b9effd5e2ba006dd9e8307a202660eced60f06 | |
parent | b1b396567e011083b80c548251be091586c32acc (diff) | |
download | scala-8e297c9a6eaefeb921769ecf8b1cbd0a6606a46f.tar.gz scala-8e297c9a6eaefeb921769ecf8b1cbd0a6606a46f.tar.bz2 scala-8e297c9a6eaefeb921769ecf8b1cbd0a6606a46f.zip |
comment
-rw-r--r-- | sources/scala/xml/NodeBuffer.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/xml/NodeBuffer.scala b/sources/scala/xml/NodeBuffer.scala index db23496b93..eafcd4b815 100644 --- a/sources/scala/xml/NodeBuffer.scala +++ b/sources/scala/xml/NodeBuffer.scala @@ -15,13 +15,13 @@ package scala.xml ; */ class NodeBuffer extends scala.collection.mutable.ArrayBuffer[Node] { - /** append a single node to this buffer */ + /** append a single node to this buffer, returns reference on this NodeBuffer for convenience. */ override def +(n:Node):NodeBuffer = { super.+( n ); this } - /** append a sequence of nodes to this buffer */ + /** append a sequence of nodes to this buffer, returns reference on this NodeBuffer for convenience. */ def +(ns:Seq[Node]):NodeBuffer = { super.++( ns ); this } - /** append given string as a scala.xml.Text node to this buffer */ + /** 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 } } |