spring-projects / spring-data-redis

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-redis/
Apache License 2.0
1.77k stars 1.17k forks source link

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

Open wendy512 opened 1 month ago

wendy512 commented 1 month ago

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