Skip to content

Commit 8fe545e

Browse files
committed
Fix compilation error in test
1 parent f5baa32 commit 8fe545e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: spring-core/src/test/java/org/springframework/core/annotation/MergedAnnotationsRepeatableAnnotationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ void searchFindsRepeatableContainerAnnotationAndRepeatedAnnotations() {
246246
Class<?> clazz = StandardRepeatablesWithContainerWithMultipleAttributesTestCase.class;
247247

248248
// NO RepeatableContainers
249-
MergedAnnotations mergedAnnotations = MergedAnnotations.from(clazz, TYPE_HIERARCHY, RepeatableContainers.none());
249+
MergedAnnotations mergedAnnotations = MergedAnnotations.from(clazz, SearchStrategy.TYPE_HIERARCHY, RepeatableContainers.none());
250250
ContainerWithMultipleAttributes container = mergedAnnotations
251251
.get(ContainerWithMultipleAttributes.class)
252252
.synthesize(MergedAnnotation::isPresent).orElse(null);
@@ -263,7 +263,7 @@ void searchFindsRepeatableContainerAnnotationAndRepeatedAnnotations() {
263263
.containsExactly("C");
264264

265265
// Standard RepeatableContainers
266-
mergedAnnotations = MergedAnnotations.from(clazz, TYPE_HIERARCHY, RepeatableContainers.standardRepeatables());
266+
mergedAnnotations = MergedAnnotations.from(clazz, SearchStrategy.TYPE_HIERARCHY, RepeatableContainers.standardRepeatables());
267267
container = mergedAnnotations
268268
.get(ContainerWithMultipleAttributes.class)
269269
.synthesize(MergedAnnotation::isPresent).orElse(null);

0 commit comments

Comments
 (0)