diff --git a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java index f4704cfa0b9..6c1e1a1cbef 100644 --- a/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java +++ b/spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java @@ -227,23 +227,23 @@ public class AnnotatedElementUtilsTests { * If the "value" entry contains both "DerivedTxConfig" AND "TxConfig", then * the algorithm is accidentally picking up shadowed annotations of the same * type within the class hierarchy. Such undesirable behavior would cause the - * logic in {@link org.springframework.context.annotation.ProfileCondition} + * logic in {@code org.springframework.context.annotation.ProfileCondition} * to fail. - * @see org.springframework.core.env.EnvironmentSystemIntegrationTests#mostSpecificDerivedClassDrivesEnvironment_withDevEnvAndDerivedDevConfigClass */ @Test public void getAllAnnotationAttributesOnClassWithLocalAnnotationThatShadowsAnnotationFromSuperclass() { + // See org.springframework.core.env.EnvironmentSystemIntegrationTests#mostSpecificDerivedClassDrivesEnvironment_withDevEnvAndDerivedDevConfigClass MultiValueMap attributes = getAllAnnotationAttributes(DerivedTxConfig.class, TX_NAME); assertNotNull("Annotation attributes map for @Transactional on DerivedTxConfig", attributes); assertEquals("value for DerivedTxConfig", asList("DerivedTxConfig"), attributes.get("value")); } /** - * Note: this functionality is required by {@link org.springframework.context.annotation.ProfileCondition}. - * @see org.springframework.core.env.EnvironmentSystemIntegrationTests + * Note: this functionality is required by {@code org.springframework.context.annotation.ProfileCondition}. */ @Test public void getAllAnnotationAttributesOnClassWithMultipleComposedAnnotations() { + // See org.springframework.core.env.EnvironmentSystemIntegrationTests MultiValueMap attributes = getAllAnnotationAttributes(TxFromMultipleComposedAnnotations.class, TX_NAME); assertNotNull("Annotation attributes map for @Transactional on TxFromMultipleComposedAnnotations", attributes); assertEquals("value for TxFromMultipleComposedAnnotations.", asList("TxInheritedComposed", "TxComposed"), diff --git a/spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsTests.java b/spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsTests.java index 2539acacab4..3533aba9403 100644 --- a/spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsTests.java +++ b/spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsTests.java @@ -196,7 +196,7 @@ public class MergedAnnotationsTests { * the algorithm is accidentally picking up shadowed annotations of the same * type within the class hierarchy. Such undesirable behavior would cause * the logic in - * {@link org.springframework.context.annotation.ProfileCondition} to fail. + * {@code org.springframework.context.annotation.ProfileCondition} to fail. */ @Test public void collectMultiValueMapFromClassWithLocalAnnotationThatShadowsAnnotationFromSuperclass() { @@ -208,7 +208,7 @@ public class MergedAnnotationsTests { /** * Note: this functionality is required by - * {@link org.springframework.context.annotation.ProfileCondition}. + * {@code org.springframework.context.annotation.ProfileCondition}. */ @Test public void collectMultiValueMapFromClassWithMultipleComposedAnnotations() {