Skip to content

Commit 8e85dd0

Browse files
committed
Fix error message for XML qualifier 'attribute' tag
1 parent b943bde commit 8e85dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ public void parseQualifierElement(Element ele, AbstractBeanDefinition bd) {
890890
qualifier.addMetadataAttribute(attribute);
891891
}
892892
else {
893-
error("Qualifier 'attribute' tag must have a 'name' and 'value'", attributeEle);
893+
error("Qualifier 'attribute' tag must have a 'key' and 'value'", attributeEle);
894894
return;
895895
}
896896
}

0 commit comments

Comments
 (0)