re #290: Added parens to no-parameter methods returning Unit in rest of akka-core.

This commit is contained in:
Heiko Seeberger 2010-07-02 21:57:44 +02:00
parent 73e6a2e5d0
commit 2959ea3e07
9 changed files with 16 additions and 16 deletions

View file

@ -31,7 +31,7 @@ trait ThreadPoolBuilder {
def isShutdown = executor.isShutdown
def buildThreadPool: Unit = synchronized {
def buildThreadPool(): Unit = synchronized {
ensureNotActive
inProcessOfBuilding = false
if (boundedExecutorBound > 0) {
@ -152,7 +152,7 @@ trait ThreadPoolBuilder {
"Is not in the process of building a thread pool, start building one by invoking one of the 'newThreadPool*' methods")
}
def ensureNotActive: Unit
def ensureNotActive(): Unit
/**
* @author <a href="http://jonasboner.com">Jonas Bon&#233;r</a>