-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Introduce and extend Config pattern (II) #2352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f94b6e5 to
485dea0
Compare
485dea0 to
314dcf5
Compare
586a0f1 to
1824df0
Compare
1824df0 to
7c6fdde
Compare
mina-asham
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good I quite like the concept, I just have a few general comments/questions:
- Sorry if I spammed about repeated comments about javadoc, I don't know the convention for repeated comments in PR, let me know if there is a preferred way!
- I found the CR really really big, I think smaller more controller CRs can help a lot getting things moving a bit faster, this is just for the benefit of reviewers tbh, a few examples:
- Moving to Java 8, this is not really essential to this PR, I only noticed one lambda usage which is not essential, could be better in a different PR
- Deprecating constructors/setters/etc... could have been done in a separate PR too
- Renaming/refactoring some tests that are not essential to this change
src/main/java/redis/clients/jedis/JedisClusterHostAndPortMap.java
Outdated
Show resolved
Hide resolved
|
@mina-asham Thank you very much for your review. Please re-review as well :)
I need it to use
Most of the deprecations are directly effected by this PR. |
@sazzad16 that's fair enough, it's just a really big PR 😄 |
mina-asham
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating, feel free to resolve all deprecation comments to clear out the clutter, I think the main bits here that I think we should change are (summarizing here because I feel like the deprecation comments made too much clutter):
- Drop builder getters, this is not really a common use case or a common pattern
- Clear up the circleci configuration from jdk7 references (just to avoid any confusion)
DefaultJedisSocketConfig.withSslI think the name is confusing see the suggestion there- Some comments in tests
- Some formatting comments in some classes
Feel free to address any of these with just comments if you disagree about the suggestions :)
|
@mina-asham Please re-review. |
|
@mina-asham Let's continue at #2368 |
Thanks, commented on that, agree with your approach!
@sazzad16 Will do, just to make sure I am not misunderstanding anything though, we are abandoning this PR? (if so can you close it?) |
Don't worry. I understand.
Only if we agree on the new one. If we disregard that, we may have to come back here. |
Resolves #1780
Resolves #1824
Resolves #2234
Closes #1787
Closes #2237
Closes #2342
Closes #2349
Closes #2353