Update messages for APIs deprecated in 2.7

In all likelihood there will not be a 2.9 release so this commit
updates the message for deprecations made in 2.7 to indicate that
removal will not occur until 3.0.

See gh-30903
This commit is contained in:
Andy Wilkinson 2022-05-12 11:12:09 +01:00
parent dacfae2d59
commit 7e88daf288
5 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ import org.springframework.beans.factory.annotation.Value;
* Annotation at the field or method/constructor parameter level that injects the HTTP
* management port that got allocated at runtime. Provides a convenient alternative for
* <code>&#064;Value(&quot;${local.management.port}&quot;)</code>.
* @deprecated since 2.7.0 for removal in 2.9.0 in favor of
* @deprecated since 2.7.0 for removal in 3.0.0 in favor of
* {@code org.springframework.boot.test.web.server.LocalManagementPort}
* @author Stephane Nicoll
* @since 2.0.0

View File

@ -27,7 +27,7 @@ import org.springframework.boot.actuate.health.HealthIndicator;
* @author Brian Clozel
* @author Filip Hrisafov
* @since 2.1.1
* @deprecated since 2.7.0 for removal in 2.9.0 in favor of
* @deprecated since 2.7.0 for removal in 3.0.0 in favor of
* {@link ElasticsearchRestClientHealthIndicator}
*/
@Deprecated

View File

@ -78,7 +78,7 @@ public enum DatabaseDriver {
/**
* Google App Engine.
* @deprecated since 2.7.0 for removal in 2.9.0 without replacement following the
* @deprecated since 2.7.0 for removal in 3.0.0 without replacement following the
* removal of AppEngineDriver from version 2.0 of the AppEngine API SDK.
*/
@Deprecated

View File

@ -32,7 +32,7 @@ import org.springframework.beans.factory.annotation.Value;
* @author Verónica Vásquez
* @author Eddú Meléndez
* @since 2.2.0
* @deprecated since 2.7.0 for removal in 2.9.0 in favor of
* @deprecated since 2.7.0 for removal in 3.0.0 in favor of
* {@code org.springframework.boot.test.rsocket.LocalRSocketServerPort}
*/
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE })

View File

@ -28,7 +28,7 @@ import org.springframework.beans.factory.annotation.Value;
* Annotation at the field or method/constructor parameter level that injects the HTTP
* port that got allocated at runtime. Provides a convenient alternative for
* <code>&#064;Value(&quot;${local.server.port}&quot;)</code>.
* @deprecated since 2.7.0 for removal in 2.9.0 in favor or
* @deprecated since 2.7.0 for removal in 3.0.0 in favor or
* {@code org.springframework.boot.test.web.server.LocalServerPort}
*
* @author Anand Shah