Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
ltronky committed Jan 30, 2015
1 parent a80b888 commit b185cca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/it/unipd/trluca/bsp/EntryPoint.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import scala.concurrent.ExecutionContext.Implicits.global

object ConstStr {
final val NODE_ACT_NAME = "/user/ablock"
final val MAIN_TIMEOUT = Timeout(10.seconds) //TODO controllare non sia troppo breve per l'esecuzione
final val MAIN_TIMEOUT = Timeout(10.seconds)
}

trait EngineStep
Expand Down
1 change: 0 additions & 1 deletion src/main/scala/it/unipd/trluca/bsp/MemberListener.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class MemberListener extends Actor with ActorLogging {
case LeaderChanged(address) =>
log.info(s"leader changed: $address")

//case _: MemberEvent => // ignore
case m:Any => log.info("MessageLost:" + m)// ignore
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ class MessageReceiver[S] extends Actor with ActorLogging {
case GetInbox(phase) =>
sender() ! inc(phase%2).toArray
inc(phase%2).clear()

case _=> log.info("Messaggio ignorato MessageReceiver")
}

}

0 comments on commit b185cca

Please sign in to comment.