Changed all 'def foo(): Unit = { .. }' to 'def foo() { .. }'

This commit is contained in:
Jonas Bonér 2011-09-27 17:41:02 +02:00
parent 07b29c0627
commit db8a20ea37
49 changed files with 153 additions and 152 deletions

View file

@ -44,7 +44,7 @@ abstract class Mailbox extends MessageQueue with SystemMessageQueue with Runnabl
* Internal method to enforce a volatile write of the status
*/
@tailrec
final def acknowledgeStatus(): Unit = {
final def acknowledgeStatus() {
val s = _status.get()
if (_status.compareAndSet(s, s)) ()
else acknowledgeStatus()
@ -112,7 +112,7 @@ abstract class Mailbox extends MessageQueue with SystemMessageQueue with Runnabl
}
}
def processAllSystemMessages(): Unit = {
def processAllSystemMessages() {
var nextMessage = systemDequeue()
while (nextMessage ne null) {
nextMessage.invoke()