Skip to content

Commit bbf7384

Browse files
committed
Update warning for use of convention-based annotation attribute overrides
See gh-28761
1 parent 1af259f commit bbf7384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -58,7 +58,7 @@ final class AnnotationTypeMapping {
5858
/**
5959
* Set used to track which convention-based annotation attribute overrides
6060
* have already been checked. Each key is the combination of the fully
61-
* qualified class names of a composed annotation and a meta-annotation
61+
* qualified class name of a composed annotation and a meta-annotation
6262
* that it is either present or meta-present on the composed annotation,
6363
* separated by a dash.
6464
* @since 6.0
@@ -319,7 +319,7 @@ private void addConventionMappings() {
319319
logger.isWarnEnabled()) {
320320
logger.warn("""
321321
Support for convention-based annotation attribute overrides is deprecated \
322-
and will be removed in Spring Framework 6.1. Please annotate the following \
322+
and will be removed in Spring Framework 6.2. Please annotate the following \
323323
attributes in @%s with appropriate @AliasFor declarations: %s"""
324324
.formatted(rootAnnotationTypeName, conventionMappedAttributes));
325325
}

0 commit comments

Comments
 (0)