spring-data-redis icon indicating copy to clipboard operation
spring-data-redis copied to clipboard

Optimize duplicate code in `StringToPropertiesConverter.convert(String source)`

Open wendy512 opened this issue 4 months ago • 0 comments

  • [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

wendy512 avatar Oct 14 '24 08:10 wendy512