Skip to content

Commit

Permalink
Remove extraneous debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
C. Scott Andreas committed Nov 12, 2011
1 parent 43649fc commit 67552b9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/scala/scalang/Node.scala
Expand Up @@ -503,28 +503,20 @@ class ErlangNode(val name : Symbol, val cookie : String, config : NodeConfig) ex
val link = p.get.linkWithoutNotify(to)
if (!isLocal(from))
links.getOrElseUpdate(channel, new NonBlockingHashSet[Link]).add(link)
else
println("from process was some, link request was local!")
case None =>
if (!isLocal(from))
links.getOrElseUpdate(channel, new NonBlockingHashSet[Link]).add(Link(from, to))
else
println("from process was none, link request was local!")
}

process(to) match {
case p: Some[Process] =>
val link = p.get.linkWithoutNotify(from)
if (!isLocal(to))
links.getOrElseUpdate(channel, new NonBlockingHashSet[Link]).add(link)
else
println("to process was some, link request was local!")

case None =>
if (!isLocal(to))
links.getOrElseUpdate(channel, new NonBlockingHashSet[Link]).add(Link(from, to))
else
println("to process was none, link request was local!")
}
}

Expand Down

0 comments on commit 67552b9

Please sign in to comment.