some cleanup after Viktor’s comments

- remove useless `cause` argument from some akka exceptions
- improve names of some method arguments
- eliminate some closure allocation
This commit is contained in:
Roland 2012-08-08 14:13:52 +02:00
parent 810d65068e
commit 6145d4313b
16 changed files with 41 additions and 46 deletions

View file

@ -214,7 +214,7 @@ class Agent[T](initialValue: T, system: ActorSystem) {
/**
* Resumes processing of `send` actions for the agent.
*/
def resume(): Unit = updater.resume(inResponseToFailure = null)
def resume(): Unit = updater.resume(causedByFailure = null)
/**
* Closes the agents and makes it eligible for garbage collection.