From 8e297c9a6eaefeb921769ecf8b1cbd0a6606a46f Mon Sep 17 00:00:00 2001 From: buraq Date: Mon, 19 Jul 2004 09:45:52 +0000 Subject: comment --- sources/scala/xml/NodeBuffer.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sources') 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 } } -- cgit v1.2.3