Skip to content

Commit 972fa5b

Browse files
committed
Refine JedisConnectionFactory.
Introduces private [static] methods (and/or local variables as needed) to simplify and remove duplicate logic while simultaneously removing broken line breaks affecting readability and understanding. Simplifies assertions by making consistent use of Spring Frameworks Assert facility rather than unnecessary conditional blocks. Refers to state variables using getter (rather than direct variable reference) where applicable helping to improve extensibility. Deprecates createTopologyProvider(..) in favor of createClusterTopologyProvider(..) for consistent and clarified naming. Cleans up compiler warnings. Closes spring-projects#2745
1 parent bdf7fb8 commit 972fa5b

File tree

1 file changed

+191
-101
lines changed

1 file changed

+191
-101
lines changed

0 commit comments

Comments
 (0)