From 5c0624b125a106b5698ec03e739ed3c4d5097f8e Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:06:59 +0200 Subject: [PATCH] Add missing words / Remove unnecessary word --- .../asciidoc/user-guide/advanced-topics/launcher-api.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/src/docs/asciidoc/user-guide/advanced-topics/launcher-api.adoc b/documentation/src/docs/asciidoc/user-guide/advanced-topics/launcher-api.adoc index 18c0b261e299..c4978a431362 100644 --- a/documentation/src/docs/asciidoc/user-guide/advanced-topics/launcher-api.adoc +++ b/documentation/src/docs/asciidoc/user-guide/advanced-topics/launcher-api.adoc @@ -169,12 +169,12 @@ include::{testDir}/example/session/HttpTests.java[tags=user_guide] In order to intercept the creation of instances of `{Launcher}` and `{LauncherSessionListener}` and calls to the `discover` and `execute` methods of the former, clients can register custom implementations of `{LauncherInterceptor}` via Java's -`{ServiceLoader}` mechanism by additionally setting the +`{ServiceLoader}` mechanism by setting the `junit.platform.launcher.interceptors.enabled` <> to `true`. -A typical use case is to create a custom replace the `ClassLoader` used by the JUnit -Platform to load test classes and engine implementations. +A typical use case is to create a custom interceptor to replace the `ClassLoader` used by +the JUnit Platform to load test classes and engine implementations. [source,java] ----