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 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 #2745
  • Loading branch information
jxblum committed Oct 18, 2023
1 parent bdf7fb8 commit 972fa5b
Showing 1 changed file with 191 additions and 101 deletions.
Loading

0 comments on commit 972fa5b

Please sign in to comment.