Merge branch '3.2.x' into 3.3.x
Closes gh-42071
This commit is contained in:
@@ -146,7 +146,7 @@ class PropertiesMigrationReporter {
|
||||
|
||||
private boolean hasSameName(ConfigurationProperty property, ConfigurationMetadataProperty replacement) {
|
||||
return (property.getOrigin() instanceof PropertySourceOrigin propertySourceOrigin)
|
||||
&& Objects.equals(propertySourceOrigin.getPropertyName(), replacement.getName());
|
||||
&& Objects.equals(propertySourceOrigin.getPropertyName(), replacement.getId());
|
||||
}
|
||||
|
||||
private ConfigurationMetadataProperty determineReplacementMetadata(ConfigurationMetadataProperty metadata) {
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"name": "relaxed",
|
||||
"type": "com.example.SourceType"
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "test.two",
|
||||
@@ -64,7 +70,8 @@
|
||||
},
|
||||
{
|
||||
"name": "relaxed.this-that-the-other",
|
||||
"type": "java.lang.String"
|
||||
"type": "java.lang.String",
|
||||
"sourceType": "com.example.SourceType"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user