spring-data-redis
spring-data-redis copied to clipboard
Optimize duplicate code in `StringToPropertiesConverter.convert(String source)`
- [x] You have read the Spring Data contribution guidelines.
- [x] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
- [ ] You submit test cases (unit or integration tests) that back your changes.
- [x] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
Converting String type content into Properties has been defined in Converters.toProperties(String source)
, replacing the duplicate content of the convert
method of StringToPropertiesConverter
.
Closes #3020