diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java b/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java index 164fb5c12d3..96562578190 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,8 +49,10 @@ import org.springframework.test.context.web.ServletTestExecutionListener; * the appropriate {@link org.springframework.test.context.TestExecutionListener * TestExecutionListeners} manually. * - *

The following {@link org.springframework.test.context.TestExecutionListener - * TestExecutionListeners} are configured by default: + *

This class explicitly registers the following {@code TestExecutionListener} + * implementations. If you want to switch to using the default set of + * listeners, see the class-level Javadoc for + * {@link TestExecutionListeners @TestExecutionListeners} for details. * *