From 59ef5e140f0c3f7432ebe85164cac980b29ef377 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:03:22 +0200 Subject: [PATCH] Update warning for use of convention-based annotation attribute overrides See gh-28761 --- .../springframework/core/annotation/AnnotationTypeMapping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java index baef1f5a4e..5bda87e8da 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java @@ -322,7 +322,7 @@ final class AnnotationTypeMapping { logger.isWarnEnabled()) { logger.warn(""" Support for convention-based annotation attribute overrides is deprecated \ - and will be removed in Spring Framework 6.2. Please annotate the following \ + and will be removed in Spring Framework 7.0. Please annotate the following \ attributes in @%s with appropriate @AliasFor declarations: %s""" .formatted(rootAnnotationTypeName, conventionMappedAttributes)); }