Update Javadoc regarding repeatable annotation support

This commit is contained in:
Sam Brannen
2021-10-29 11:04:01 +02:00
parent 8dd385b440
commit 32c14a2b42
6 changed files with 20 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 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.
@@ -70,8 +70,8 @@ import org.springframework.core.annotation.AliasFor;
* <ul>
* <li>Typically, {@code @TestPropertySource} will be used in conjunction with
* {@link ContextConfiguration @ContextConfiguration}.</li>
* <li>As of Spring Framework 5.2, {@code @TestPropertySource} can be used as a
* <em>{@linkplain Repeatable repeatable}</em> annotation.</li>
* <li>{@code @TestPropertySource} can be used as a <em>{@linkplain Repeatable
* repeatable}</em> annotation.</li>
* <li>This annotation may be used as a <em>meta-annotation</em> to create
* custom <em>composed annotations</em>; however, caution should be taken if
* this annotation and {@code @ContextConfiguration} are combined on a composed

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2021 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.
@@ -45,10 +45,9 @@ import org.springframework.core.annotation.AliasFor;
* XML namespace element. Consult the javadocs of individual attributes in this
* annotation and {@link SqlConfig @SqlConfig} for details.
*
* <p>Beginning with Java 8, {@code @Sql} can be used as a
* <em>{@linkplain Repeatable repeatable}</em> annotation. Otherwise,
* {@link SqlGroup @SqlGroup} can be used as an explicit container for declaring
* multiple instances of {@code @Sql}.
* <p>{@code @Sql} can be used as a <em>{@linkplain Repeatable repeatable}</em>
* annotation. Otherwise, {@link SqlGroup @SqlGroup} can be used as an explicit
* container for declaring multiple instances of {@code @Sql}.
*
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
* <em>composed annotations</em> with attribute overrides.