You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General code refactoring and cleanup task triggered while considering the fallout and possible workaround for #2738.
Introduces private (static) methods (and/or local variables) to simplify and remove duplicate logic while simultaneously removing broken line breaks affecting readability and understanding.
NOTE: line breaks are also being affected by our excessive indentation.
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.
Reorganizes state variables in both JedisConnectionFactory as well as MutableJedisClientConfiguration by type in alphabetical order.
Organizes code according to Spring Data source code guidelines (e.g. private methods towards the end of classes).
Deprecates createTopologyProvider(..) in favor of createClusterTopologyProvider(..) for consistent and clarified naming.
Adds additional and judicious white space to improve readability.
The text was updated successfully, but these errors were encountered:
jxblum
added a commit
to jxblum/spring-data-redis
that referenced
this issue
Oct 18, 2023
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.
Closesspring-projects#2745
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.
Closesspring-projects#2745
jxblum
added a commit
to jxblum/spring-data-redis
that referenced
this issue
Oct 18, 2023
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.
Closesspring-projects#2745
jxblum
changed the title
Refine JedisConnectionFactory
Refine JedisConnectionFactoryOct 18, 2023
General code refactoring and cleanup task triggered while considering the fallout and possible workaround for #2738.
Introduces private (static) methods (and/or local variables) 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.
Reorganizes state variables in both
JedisConnectionFactory
as well asMutableJedisClientConfiguration
by type in alphabetical order.Organizes code according to Spring Data source code guidelines (e.g. private methods towards the end of classes).
Deprecates
createTopologyProvider(..)
in favor ofcreateClusterTopologyProvider(..)
for consistent and clarified naming.Adds additional and judicious white space to improve readability.
The text was updated successfully, but these errors were encountered: