From ef3870369a0a812e8ad133d658b581f85bd1dd70 Mon Sep 17 00:00:00 2001 From: o-pikozh Date: Fri, 1 Feb 2019 09:52:47 +0200 Subject: [PATCH] Typo in futures.md (#26316) Small letter at the start of the sentence. --- akka-docs/src/main/paradox/futures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/src/main/paradox/futures.md b/akka-docs/src/main/paradox/futures.md index 15d68cb2b8..d849b217d3 100644 --- a/akka-docs/src/main/paradox/futures.md +++ b/akka-docs/src/main/paradox/futures.md @@ -28,7 +28,7 @@ See also @ref:[Java 8 Compatibility](java8-compat.md) for Java compatibility. ## Execution Contexts In order to execute callbacks and operations, Futures need something called an `ExecutionContext`, -which is very similar to a `java.util.concurrent.Executor`. if you have an `ActorSystem` in scope, +which is very similar to a `java.util.concurrent.Executor`. If you have an `ActorSystem` in scope, it will use its default dispatcher as the `ExecutionContext`, or you can use the factory methods provided by the @scala[`ExecutionContext` companion object]@java[`ExecutionContexts` class] to wrap `Executors` and `ExecutorServices`, or even create your own.