diff --git a/spring-test/src/main/java/org/springframework/test/annotation/IfProfileValue.java b/spring-test/src/main/java/org/springframework/test/annotation/IfProfileValue.java index f286f1c2b0..37b469bbf0 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/IfProfileValue.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/IfProfileValue.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 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. @@ -24,8 +24,8 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Test annotation to indicate whether a test is enabled or disabled for a - * specific testing profile. + * Test annotation for use with JUnit 4 to indicate whether a test is enabled or + * disabled for a specific testing profile. * *

In the context of this annotation, the term profile refers to * a Java system property by default; however, the semantics can be changed diff --git a/spring-test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java b/spring-test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java index e5f61e45a8..e5dda525cb 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/ProfileValueSourceConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2019 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. @@ -24,10 +24,10 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * {@code ProfileValueSourceConfiguration} is a class-level annotation which - * is used to specify what type of {@link ProfileValueSource} to use when - * retrieving profile values configured via the {@link IfProfileValue - * @IfProfileValue} annotation. + * {@code ProfileValueSourceConfiguration} is a class-level annotation for use + * with JUnit 4 which is used to specify what type of {@link ProfileValueSource} + * to use when retrieving profile values configured via + * {@link IfProfileValue @IfProfileValue}. * *

As of Spring Framework 4.0, this annotation may be used as a * meta-annotation to create custom composed annotations. diff --git a/spring-test/src/main/java/org/springframework/test/annotation/Repeat.java b/spring-test/src/main/java/org/springframework/test/annotation/Repeat.java index 8d649635f5..9934c64bc5 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/Repeat.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/Repeat.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2002-2019 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. @@ -23,7 +23,8 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Test annotation to indicate that a test method should be invoked repeatedly. + * Test annotation for use with JUnit 4 to indicate that a test method should be + * invoked repeatedly. * *

Note that the scope of execution to be repeated includes execution of the * test method itself as well as any set up or tear down of 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 7ece58fd9b..ccd54fbb2f 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-2016 the original author or authors. + * Copyright 2002-2019 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. @@ -23,7 +23,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Test-specific annotation to indicate that a test method has to finish + * 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 diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/rules/package-info.java b/spring-test/src/main/java/org/springframework/test/context/junit4/rules/package-info.java index ae0b7dc6e0..d1d981d2fb 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/rules/package-info.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/rules/package-info.java @@ -1,5 +1,5 @@ /** - * Custom JUnit {@code Rules} used in the Spring TestContext Framework. + * Custom JUnit 4 {@code Rules} used in the Spring TestContext Framework. */ @NonNullApi @NonNullFields diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/package-info.java b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/package-info.java index 7d9c4af538..50b9815c18 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/statements/package-info.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/statements/package-info.java @@ -1,5 +1,5 @@ /** - * Custom JUnit {@code Statements} used in the Spring TestContext Framework. + * Custom JUnit 4 {@code Statements} used in the Spring TestContext Framework. */ @NonNullApi @NonNullFields diff --git a/spring-test/src/main/java/org/springframework/test/context/testng/package-info.java b/spring-test/src/main/java/org/springframework/test/context/testng/package-info.java index db87bf6353..a3ffed50e1 100644 --- a/spring-test/src/main/java/org/springframework/test/context/testng/package-info.java +++ b/spring-test/src/main/java/org/springframework/test/context/testng/package-info.java @@ -1,6 +1,6 @@ /** - * Support classes for ApplicationContext-based and transactional - * tests run with TestNG and the Spring TestContext Framework. + * Support classes for integrating the Spring TestContext Framework + * with TestNG. */ @NonNullApi @NonNullFields diff --git a/spring-tx/src/main/java/org/springframework/transaction/package-info.java b/spring-tx/src/main/java/org/springframework/transaction/package-info.java index c6f2ed6104..3144ee3b1f 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/package-info.java +++ b/spring-tx/src/main/java/org/springframework/transaction/package-info.java @@ -1,7 +1,7 @@ /** - * Exception hierarchy for Spring's transaction infrastructure, - * independent of any specific transaction management system. - * Contains transaction manager, definition, and status interfaces. + * Spring's core transaction management APIs (independent of any specific transaction + * management system); an exception hierarchy for Spring's transaction infrastructure; + * and transaction manager, definition, and status interfaces. */ @NonNullApi @NonNullFields