#2776 - deprecating and introducing alternatives for methods and parameters ending with '_?'

This commit is contained in:
Viktor Klang 2012-12-11 16:24:12 +01:00
parent 761f1c6258
commit d0717aaec6
8 changed files with 32 additions and 30 deletions

View file

@ -99,10 +99,6 @@ case class ThreadPoolConfig(allowCorePoolTimeout: Boolean = ThreadPoolConfig.def
}
}
object ThreadPoolConfigBuilder {
def conf_?[T](opt: Option[T])(fun: (T) ThreadPoolConfigBuilder ThreadPoolConfigBuilder): Option[(ThreadPoolConfigBuilder) ThreadPoolConfigBuilder] = opt map fun
}
/**
* A DSL to configure and create a MessageDispatcher with a ThreadPoolExecutor
*/