Skip to content

Conversation

@sazzad16
Copy link
Contributor

@sazzad16 sazzad16 commented Jan 22, 2021

Resolves #1780
Resolves #1824
Resolves #2234

Closes #1787
Closes #2237

Closes #2342
Closes #2349
Closes #2353

@sazzad16 sazzad16 force-pushed the config-pattern-extend-2 branch from f94b6e5 to 485dea0 Compare January 24, 2021 12:34
@sazzad16 sazzad16 force-pushed the config-pattern-extend-2 branch from 485dea0 to 314dcf5 Compare January 27, 2021 11:41
@sazzad16 sazzad16 added this to the 3.6.0 milestone Jan 28, 2021
@sazzad16 sazzad16 force-pushed the config-pattern-extend-2 branch 2 times, most recently from 586a0f1 to 1824df0 Compare January 28, 2021 11:42
Copy link
Contributor

@mina-asham mina-asham left a 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

@sazzad16
Copy link
Contributor Author

@mina-asham Thank you very much for your review. Please re-review as well :)

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

I need it to use default. I can do it separately, but in that case a review+merge would be required very fast.

Deprecating constructors/setters/etc... could have been done in a separate PR too

Most of the deprecations are directly effected by this PR.

@mina-asham
Copy link
Contributor

@mina-asham Thank you very much for your review. Please re-review as well :)

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

I need it to use default. I can do it separately, but in that case a review+merge would be required very fast.

Deprecating constructors/setters/etc... could have been done in a separate PR too

Most of the deprecations are directly effected by this PR.

@sazzad16 that's fair enough, it's just a really big PR 😄

Copy link
Contributor

@mina-asham mina-asham left a 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.withSsl I 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 :)

@sazzad16 sazzad16 requested a review from mina-asham January 29, 2021 13:52
@sazzad16
Copy link
Contributor Author

@mina-asham Please re-review.
I think I'm done except DefaultJedisSocketConfig.withSsl. Check my comment there. Waiting for you response.

@sazzad16
Copy link
Contributor Author

sazzad16 commented Feb 6, 2021

@mina-asham Let's continue at #2368

@mina-asham
Copy link
Contributor

mina-asham commented Feb 10, 2021

@mina-asham Please re-review.
I think I'm done except DefaultJedisSocketConfig.withSsl. Check my comment there. Waiting for you response.

Thanks, commented on that, agree with your approach!

@mina-asham Let's continue at #2368

@sazzad16 Will do, just to make sure I am not misunderstanding anything though, we are abandoning this PR? (if so can you close it?)
Also, sorry for the delays between reviews, time is tight :)

@sazzad16
Copy link
Contributor Author

@mina-asham

sorry for the delays between reviews, time is tight :)

Don't worry. I understand.

we are abandoning this PR?

Only if we agree on the new one. If we disregard that, we may have to come back here.

@sazzad16 sazzad16 closed this Feb 17, 2021
@sazzad16 sazzad16 deleted the config-pattern-extend-2 branch March 5, 2021 13:36
@sazzad16 sazzad16 added this to the 3.6.0 milestone Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants