Skip to content

Commit 7a210a3

Browse files
oderskyadriaanm
authored andcommitted
changed collection libraries
1 parent 2ff2d41 commit 7a210a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/library/scala/xml/NodeSeq.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ abstract class NodeSeq extends Seq[Node] {
153153
override def toString(): String = theSeq.elements.foldLeft ("") {
154154
(s: String, x: Node) => s + x.toString()
155155
}
156-
157156
/*
158157
def map(f: Node => NodeSeq): NodeSeq = flatMap(f)
159158
@@ -167,6 +166,7 @@ abstract class NodeSeq extends Seq[Node] {
167166
x
168167
}
169168
*/
169+
170170
def text: String = {
171171
val sb = new compat.StringBuilder()
172172
val it = elements

test/files/jvm/xml01.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ object Test {
177177
//Text("John Mitchell"),
178178
Elem(null,"title",e,sc,Text("Foundations of Programming Languages"))
179179
//Text("Foundations of Programming Languages")
180-
): Seq[Node]
180+
)
181181
);
182182

183183
// test group node

0 commit comments

Comments
 (0)