diff options
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) }; |