diff --git a/spring-test/src/main/java/org/springframework/test/context/TestExecutionListeners.java b/spring-test/src/main/java/org/springframework/test/context/TestExecutionListeners.java index c66ccc125c..0258990d1b 100644 --- a/spring-test/src/main/java/org/springframework/test/context/TestExecutionListeners.java +++ b/spring-test/src/main/java/org/springframework/test/context/TestExecutionListeners.java @@ -75,7 +75,7 @@ public @interface TestExecutionListeners { * locally declared listeners will simply be appended to the list of default * listeners when merged. */ - MERGE_WITH_DEFAULTS, + MERGE_WITH_DEFAULTS } @@ -133,10 +133,9 @@ public @interface TestExecutionListeners { * // ... * } * - *

- * If {@code inheritListeners} is set to {@code false}, the listeners for the - * annotated class will shadow and effectively replace any listeners - * defined by a superclass. + *

If {@code inheritListeners} is set to {@code false}, the listeners for + * the annotated class will shadow and effectively replace any + * listeners defined by a superclass. */ boolean inheritListeners() default true;