mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
SPR-5906: test and fix for using expressions in property list keys and values
This commit is contained in:
+2
-2
@@ -167,10 +167,10 @@ class BeanDefinitionValueResolver {
|
||||
Object propKey = propEntry.getKey();
|
||||
Object propValue = propEntry.getValue();
|
||||
if (propKey instanceof TypedStringValue) {
|
||||
propKey = ((TypedStringValue) propKey).getValue();
|
||||
propKey = evaluate(((TypedStringValue) propKey).getValue());
|
||||
}
|
||||
if (propValue instanceof TypedStringValue) {
|
||||
propValue = ((TypedStringValue) propValue).getValue();
|
||||
propValue = evaluate(((TypedStringValue) propValue).getValue());
|
||||
}
|
||||
copy.put(propKey, propValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user