diff --git a/spring-test/src/main/java/org/springframework/test/annotation/Rollback.java b/spring-test/src/main/java/org/springframework/test/annotation/Rollback.java index 33b0298722..9d2cbcd8df 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/Rollback.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/Rollback.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2024 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. @@ -38,8 +38,7 @@ import java.lang.annotation.Target; * {@code @Rollback} defines rollback semantics for the specific test method, * potentially overriding class-level default commit or rollback semantics. * - *

As of Spring Framework 4.2, {@code @Commit} can be used as direct - * replacement for {@code @Rollback(false)}. + *

{@code @Commit} can be used as direct replacement for {@code @Rollback(false)}. * *

Warning: Declaring {@code @Commit} and {@code @Rollback} * on the same test method or on the same test class is unsupported and may diff --git a/spring-test/src/main/java/org/springframework/test/annotation/Timed.java b/spring-test/src/main/java/org/springframework/test/annotation/Timed.java index db493e76d5..3e5ca273eb 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/Timed.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/Timed.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2024 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. @@ -26,7 +26,7 @@ import java.lang.annotation.Target; * Test annotation for use with JUnit 4 to indicate that a test method has to finish * execution in a {@linkplain #millis() specified time period}. * - *

If the text execution takes longer than the specified time period, then + *

If the test execution takes longer than the specified time period, then * the test is considered to have failed. * *

Note that the time period includes execution of the test method itself,