Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Jan 17, 2018
1 parent ef26f3b commit a115d26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/scala/org/geneontology/rules/engine/ReteNodes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a115d26

Please sign in to comment.