From 1107bc4cd3fe64ee9bddc9859c95c8c98056fc2f Mon Sep 17 00:00:00 2001 From: hepin Date: Thu, 14 May 2015 11:37:36 +0800 Subject: [PATCH] +act #17482 fix typo in error message for parsing task-peeking-mode --- .../src/main/scala/akka/dispatch/AbstractDispatcher.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala b/akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala index 91a875a442..d77beb89f7 100644 --- a/akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala +++ b/akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala @@ -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(