diff --git a/src/main/scala/org/geneontology/rules/engine/ReteNodes.scala b/src/main/scala/org/geneontology/rules/engine/ReteNodes.scala index 5e242f0..6344c0e 100644 --- a/src/main/scala/org/geneontology/rules/engine/ReteNodes.scala +++ b/src/main/scala/org/geneontology/rules/engine/ReteNodes.scala @@ -137,8 +137,6 @@ final class JoinNode(val leftParent: BetaNode with BetaParent, rightParent: Alph _ = tokensToSend = newToken :: tokensToSend (bindingVar, bindingValue) <- newToken.bindings } { - //betaMem.tokenIndex.getOrElseUpdate(binding, mutable.Set.empty).add(newToken) - //betaMem.tokenIndex.getOrElseUpdate(bindingVar, mutable.AnyRefMap.empty).getOrElseUpdate(bindingValue, mutable.Set.empty).add(newToken) val currentMap = betaMem.tokenIndex.getOrElseUpdate(bindingVar, mutable.AnyRefMap.empty) val currentList = currentMap.getOrElse(bindingValue, Nil) currentMap(bindingValue) = newToken :: currentList