Remove procedure syntax (#25362)
This commit is contained in:
parent
50979d599c
commit
5b3b191bac
180 changed files with 403 additions and 403 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue