re #290: Added parens to no-parameter methods returning Unit in rest of akka-core.
This commit is contained in:
parent
73e6a2e5d0
commit
2959ea3e07
9 changed files with 16 additions and 16 deletions
|
|
@ -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ér</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue