Skip to content

Commit

Permalink
Refine JedisConnectionFactory.
Browse files Browse the repository at this point in the history
Introduces private (static) methods (and/or local variables) to simplify and remove duplicate logic while simultaneously removing broken line breaks affecting readability and understanding along with cleaning up some compiler warnings.

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.

Closes #2745
  • Loading branch information
jxblum committed Oct 18, 2023
1 parent dcdb1e4 commit 6d7d3c1
Showing 1 changed file with 188 additions and 98 deletions.
Loading

0 comments on commit 6d7d3c1

Please sign in to comment.