Revert "Support recursive annotations in merged annotations"

This reverts commit 3ec612aaf8.
This commit is contained in:
Arjen Poutsma
2022-06-14 13:03:29 +02:00
parent df37e33105
commit bf9f261b95
7 changed files with 31 additions and 279 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2020 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.
@@ -80,7 +80,7 @@ class AnnotationTypeMappingsTests {
@Test
void forAnnotationTypeWhenRepeatableMetaAnnotationIsFiltered() {
AnnotationTypeMappings mappings = AnnotationTypeMappings.forAnnotationType(WithRepeatedMetaAnnotations.class,
RepeatableContainers.standardRepeatables(), Repeating.class.getName()::equals);
Repeating.class.getName()::equals);
assertThat(getAll(mappings)).flatExtracting(AnnotationTypeMapping::getAnnotationType)
.containsExactly(WithRepeatedMetaAnnotations.class);
}