Remove procedure syntax (#25362)

This commit is contained in:
kenji yoshida 2018-07-25 20:38:27 +09:00 committed by Johan Andrén
parent 50979d599c
commit 5b3b191bac
180 changed files with 403 additions and 403 deletions

View file

@ -30,7 +30,7 @@ object ActorPublisherTest {
case _ // no-op
}
def loopDemand() {
def loopDemand(): Unit = {
val loopUntil = math.min(100, totalDemand)
1 to loopUntil.toInt foreach { _ self ! Produce }
if (loopUntil > 100) self ! Loop