mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Update `PropertiesMigrationReporter` so that already migrated properties are not reported. Prior to this commit, if a deprecated property was replaced by a property that could bind with the name relaxed name it would be reported. For example: `test.someproperty` being replaced with `test.some-property`. In order to check the actual underlying property name, the `PropertySourceOrigin` class has been updated so that it is always returned, even if another `Origin` is available. Fixes gh-35774 |
||
---|---|---|
.. | ||
main | ||
test |