Skip to content

Commit ef151f5

Browse files
committed
Polishing
1 parent 1221b06 commit ef151f5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spring-core/src/test/java/org/springframework/core/annotation/AnnotatedElementUtilsTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,23 @@ public void getAllAnnotationAttributesFavorsInheritedComposedAnnotationsOverMore
227227
* If the "value" entry contains both "DerivedTxConfig" AND "TxConfig", then
228228
* the algorithm is accidentally picking up shadowed annotations of the same
229229
* type within the class hierarchy. Such undesirable behavior would cause the
230-
* logic in {@link org.springframework.context.annotation.ProfileCondition}
230+
* logic in {@code org.springframework.context.annotation.ProfileCondition}
231231
* to fail.
232-
* @see org.springframework.core.env.EnvironmentSystemIntegrationTests#mostSpecificDerivedClassDrivesEnvironment_withDevEnvAndDerivedDevConfigClass
233232
*/
234233
@Test
235234
public void getAllAnnotationAttributesOnClassWithLocalAnnotationThatShadowsAnnotationFromSuperclass() {
235+
// See org.springframework.core.env.EnvironmentSystemIntegrationTests#mostSpecificDerivedClassDrivesEnvironment_withDevEnvAndDerivedDevConfigClass
236236
MultiValueMap<String, Object> attributes = getAllAnnotationAttributes(DerivedTxConfig.class, TX_NAME);
237237
assertNotNull("Annotation attributes map for @Transactional on DerivedTxConfig", attributes);
238238
assertEquals("value for DerivedTxConfig", asList("DerivedTxConfig"), attributes.get("value"));
239239
}
240240

241241
/**
242-
* Note: this functionality is required by {@link org.springframework.context.annotation.ProfileCondition}.
243-
* @see org.springframework.core.env.EnvironmentSystemIntegrationTests
242+
* Note: this functionality is required by {@code org.springframework.context.annotation.ProfileCondition}.
244243
*/
245244
@Test
246245
public void getAllAnnotationAttributesOnClassWithMultipleComposedAnnotations() {
246+
// See org.springframework.core.env.EnvironmentSystemIntegrationTests
247247
MultiValueMap<String, Object> attributes = getAllAnnotationAttributes(TxFromMultipleComposedAnnotations.class, TX_NAME);
248248
assertNotNull("Annotation attributes map for @Transactional on TxFromMultipleComposedAnnotations", attributes);
249249
assertEquals("value for TxFromMultipleComposedAnnotations.", asList("TxInheritedComposed", "TxComposed"),

spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public void collectMultiValueMapFavorsInheritedComposedAnnotationsOverMoreLocall
196196
* the algorithm is accidentally picking up shadowed annotations of the same
197197
* type within the class hierarchy. Such undesirable behavior would cause
198198
* the logic in
199-
* {@link org.springframework.context.annotation.ProfileCondition} to fail.
199+
* {@code org.springframework.context.annotation.ProfileCondition} to fail.
200200
*/
201201
@Test
202202
public void collectMultiValueMapFromClassWithLocalAnnotationThatShadowsAnnotationFromSuperclass() {
@@ -208,7 +208,7 @@ public void collectMultiValueMapFromClassWithLocalAnnotationThatShadowsAnnotatio
208208

209209
/**
210210
* Note: this functionality is required by
211-
* {@link org.springframework.context.annotation.ProfileCondition}.
211+
* {@code org.springframework.context.annotation.ProfileCondition}.
212212
*/
213213
@Test
214214
public void collectMultiValueMapFromClassWithMultipleComposedAnnotations() {

0 commit comments

Comments
 (0)