Skip to content

Commit 9a80bd3

Browse files
authored
Merge pull request scala#744 from som-snytt/issue/12658-nodebuffer-append
NodeBuffer append is this.type
2 parents d9d0f2d + 6072f83 commit 9a80bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: shared/src/main/scala/scala/xml/NodeBuffer.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class NodeBuffer extends scala.collection.mutable.ArrayBuffer[Node] with ScalaVe
3636
* @param o converts to an xml node and adds to this node buffer
3737
* @return this nodebuffer
3838
*/
39-
def &+(o: Any): NodeBuffer = {
39+
def &+(o: Any): this.type = {
4040
o match {
4141
case null | _: Unit | Text("") => // ignore
4242
case it: Iterator[?] => it.foreach(&+)

0 commit comments

Comments
 (0)