Skip to content

Commit 2ff2d41

Browse files
Burak Emiradriaanm
Burak Emir
authored andcommitted
* NodeSeq plays with new Seq[A]
* new starr, because of Tuple/Product change and collections
1 parent b823091 commit 2ff2d41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/library/scala/xml/NodeSeq.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ abstract class NodeSeq extends Seq[Node] {
154154
(s: String, x: Node) => s + x.toString()
155155
}
156156

157+
/*
157158
def map(f: Node => NodeSeq): NodeSeq = flatMap(f)
158159
159160
def flatMap(f: Node => NodeSeq): NodeSeq = {
@@ -165,7 +166,7 @@ abstract class NodeSeq extends Seq[Node] {
165166
val x = toList filter f
166167
x
167168
}
168-
169+
*/
169170
def text: String = {
170171
val sb = new compat.StringBuilder()
171172
val it = elements

0 commit comments

Comments
 (0)