Skip to content

Commit 5b928f4

Browse files
committed
Finish incomplete sentences
(cherry picked from commit 9d3374b)
1 parent 5e52bae commit 5b928f4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

spring-test/src/main/java/org/springframework/test/context/TestContextManager.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -389,8 +389,8 @@ public void beforeTestExecution(Object testInstance, Method testMethod) throws E
389389
* have executed, the first caught exception will be rethrown with any
390390
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
391391
* the first exception.
392-
* <p>Note that registered listeners will be executed in the opposite
393-
* order in which they were registered.
392+
* <p>Note that listeners will be executed in the opposite order in which they
393+
* were registered.
394394
* @param testInstance the current test instance
395395
* @param testMethod the test method which has just been executed on the
396396
* test instance
@@ -459,7 +459,8 @@ public void afterTestExecution(Object testInstance, Method testMethod, @Nullable
459459
* have executed, the first caught exception will be rethrown with any
460460
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
461461
* the first exception.
462-
* <p>Note that registered listeners will be executed in the opposite
462+
* <p>Note that listeners will be executed in the opposite order in which they
463+
* were registered.
463464
* @param testInstance the current test instance
464465
* @param testMethod the test method which has just been executed on the
465466
* test instance
@@ -517,7 +518,8 @@ public void afterTestMethod(Object testInstance, Method testMethod, @Nullable Th
517518
* have executed, the first caught exception will be rethrown with any
518519
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
519520
* the first exception.
520-
* <p>Note that registered listeners will be executed in the opposite
521+
* <p>Note that listeners will be executed in the opposite order in which they
522+
* were registered.
521523
* @throws Exception if a registered TestExecutionListener throws an exception
522524
* @since 3.0
523525
* @see #getTestExecutionListeners()

0 commit comments

Comments
 (0)