From 6b460e63c24b7345711142416b92bfebcb0d2161 Mon Sep 17 00:00:00 2001 From: yanggy <826449452@qq.com> Date: Thu, 15 Dec 2022 04:18:44 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20PropertySource=20=E7=9A=84?= =?UTF-8?q?=E5=8C=85=E8=B7=AF=E5=BE=84=EF=BC=8C=E5=A4=84=E7=90=86@Property?= =?UTF-8?q?Source=E6=B3=A8=E8=A7=A3=E4=B8=8D=E8=B5=B7=E4=BD=9C=E7=94=A8=20?= =?UTF-8?q?PropertySource=20=E5=BA=94=E8=AF=A5=E6=98=AF=20@PropertySource?= =?UTF-8?q?=E7=9A=84=20=EF=BC=88org.springframework.context.annotation.Pro?= =?UTF-8?q?pertySource=EF=BC=89=20=E8=80=8C=E4=BB=A3=E7=A0=81=E4=B8=AD?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E6=98=AF=E5=8F=A6=E5=A4=96=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=8C=85=E4=B8=AD=E7=9A=84=E7=B1=BB=EF=BC=8C=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4@PropertySource=E6=B3=A8=E8=A7=A3=E4=B8=8D?= =?UTF-8?q?=E8=B5=B7=E4=BD=9C=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yanggy <826449452@qq.com> --- .../context/annotation/ConfigurationClassParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java b/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java index 598f7e4..fecfddf 100644 --- a/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java +++ b/springContext/src/main/java/org/springframework/context/annotation/ConfigurationClassParser.java @@ -287,7 +287,7 @@ class ConfigurationClassParser { // Process any @PropertySource annotations for (AnnotationAttributes propertySource : AnnotationConfigUtils.attributesForRepeatable( sourceClass.getMetadata(), PropertySources.class, - PropertySource.class)) { + org.springframework.context.annotation.PropertySource.class)) { if (this.environment instanceof ConfigurableEnvironment) { processPropertySource(propertySource); } -- Gitee