Merge pull request #1594 from nraychaudhuri/patch-1

Update Agent.scala
This commit is contained in:
Roland Kuhn 2013-07-05 09:02:09 -07:00
commit 157d0caf81

View file

@ -124,7 +124,6 @@ object Agent {
* val result = agent()
* // use result ...
*
* agent.close
* }}}
* <br/>
*
@ -150,10 +149,6 @@ object Agent {
* value2 <- agent2
* } yield value1 + value2
*
* agent1.close
* agent2.close
* agent3.close
* agent4.close
* }}}
*/
abstract class Agent[T] {
@ -238,4 +233,4 @@ abstract class Agent[T] {
* In Java, pass in an instance of `akka.dispatch.Foreach`.
*/
def foreach[U](f: T U): Unit
}
}