diff options
author | buraq <buraq@epfl.ch> | 2004-11-03 07:00:49 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-11-03 07:00:49 +0000 |
commit | 09c3cc4c365829403c8c26a3292e25d91a05b9fb (patch) | |
tree | 015446fa733f43be5e610191c0b85fa2ed88847b /sources | |
parent | 25b24ddd2884ceddddf4e2b32e24dbe1154862db (diff) | |
download | scala-09c3cc4c365829403c8c26a3292e25d91a05b9fb.tar.gz scala-09c3cc4c365829403c8c26a3292e25d91a05b9fb.tar.bz2 scala-09c3cc4c365829403c8c26a3292e25d91a05b9fb.zip |
oops
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/xml/NodeFactory.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/scala/xml/NodeFactory.scala b/sources/scala/xml/NodeFactory.scala index d44d804def..a119caf402 100644 --- a/sources/scala/xml/NodeFactory.scala +++ b/sources/scala/xml/NodeFactory.scala @@ -48,9 +48,8 @@ abstract class NodeFactory[A <: Node] { &&(eqElements(n.child,children)); def makeNode(uname: UName, attrSeq:AttributeSeq, children:Seq[Node]): A = { - Console.println("wrong makeNode"); val hash = Utility.hashCode( uname, attrSeq.hashCode(), children ) ; - cache.get( hash ) match { + cache.get( hash ) match { case Some(list) => // find structurally equal val it = list.elements; val lookup = it.find { x => nodeEquals(x,uname,attrSeq,children) }; |