Browse Source

Finish incomplete sentences

(cherry picked from commit 9d3374b28d)
6.1.x
Sam Brannen 12 months ago
parent
commit
5b928f47a8
  1. 12
      spring-test/src/main/java/org/springframework/test/context/TestContextManager.java

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

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2023 the original author or authors. * Copyright 2002-2025 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -389,8 +389,8 @@ public class TestContextManager {
* have executed, the first caught exception will be rethrown with any * have executed, the first caught exception will be rethrown with any
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in * subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
* the first exception. * the first exception.
* <p>Note that registered listeners will be executed in the opposite * <p>Note that listeners will be executed in the opposite order in which they
* order in which they were registered. * were registered.
* @param testInstance the current test instance * @param testInstance the current test instance
* @param testMethod the test method which has just been executed on the * @param testMethod the test method which has just been executed on the
* test instance * test instance
@ -459,7 +459,8 @@ public class TestContextManager {
* have executed, the first caught exception will be rethrown with any * have executed, the first caught exception will be rethrown with any
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in * subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
* the first exception. * the first exception.
* <p>Note that registered listeners will be executed in the opposite * <p>Note that listeners will be executed in the opposite order in which they
* were registered.
* @param testInstance the current test instance * @param testInstance the current test instance
* @param testMethod the test method which has just been executed on the * @param testMethod the test method which has just been executed on the
* test instance * test instance
@ -517,7 +518,8 @@ public class TestContextManager {
* have executed, the first caught exception will be rethrown with any * have executed, the first caught exception will be rethrown with any
* subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in * subsequent exceptions {@linkplain Throwable#addSuppressed suppressed} in
* the first exception. * the first exception.
* <p>Note that registered listeners will be executed in the opposite * <p>Note that listeners will be executed in the opposite order in which they
* were registered.
* @throws Exception if a registered TestExecutionListener throws an exception * @throws Exception if a registered TestExecutionListener throws an exception
* @since 3.0 * @since 3.0
* @see #getTestExecutionListeners() * @see #getTestExecutionListeners()

Loading…
Cancel
Save