+act #17482 fix typo in error message for parsing task-peeking-mode

This commit is contained in:
hepin 2015-05-14 11:37:36 +08:00
parent 67a9e62254
commit 1107bc4cd3

View file

@ -437,7 +437,7 @@ class ForkJoinExecutorConfigurator(config: Config, prerequisites: DispatcherPrer
val asyncMode = config.getString("task-peeking-mode") match {
case "FIFO" true
case "LIFO" false
case unsupported throw new IllegalArgumentException(s"""Cannot instantiate ForkJoinExecutorServiceFactory. "task-peeking-mode" in "fork-join-executor" section could only set to "FIFO" or "LILO".""")
case unsupported throw new IllegalArgumentException(s"""Cannot instantiate ForkJoinExecutorServiceFactory. "task-peeking-mode" in "fork-join-executor" section could only set to "FIFO" or "LIFO".""")
}
new ForkJoinExecutorServiceFactory(