Fix @deprecated warnings

This commit is contained in:
Peter Vlugter 2011-05-06 11:55:35 +12:00
parent 60484e2341
commit 6f17d2cf6d
6 changed files with 39 additions and 39 deletions

View file

@ -89,7 +89,7 @@ case class ThreadPoolConfigDispatcherBuilder(dispatcherFactory: (ThreadPoolConfi
def build = dispatcherFactory(config)
//TODO remove this, for backwards compat only
@deprecated("Use .build instead") def buildThreadPool = build
@deprecated("Use .build instead", "1.1") def buildThreadPool = build
def withNewBoundedThreadPoolWithLinkedBlockingQueueWithUnboundedCapacity(bounds: Int): ThreadPoolConfigDispatcherBuilder =
this.copy(config = config.copy(flowHandler = flowHandler(bounds), queueFactory = linkedBlockingQueue()))