We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9d0f2d commit 6072f83Copy full SHA for 6072f83
shared/src/main/scala/scala/xml/NodeBuffer.scala
@@ -36,7 +36,7 @@ class NodeBuffer extends scala.collection.mutable.ArrayBuffer[Node] with ScalaVe
36
* @param o converts to an xml node and adds to this node buffer
37
* @return this nodebuffer
38
*/
39
- def &+(o: Any): NodeBuffer = {
+ def &+(o: Any): this.type = {
40
o match {
41
case null | _: Unit | Text("") => // ignore
42
case it: Iterator[?] => it.foreach(&+)
0 commit comments