-
Notifications
You must be signed in to change notification settings - Fork 611
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
Categorize methods in RichIterable using region/endregion comments. #1689
Conversation
donraab
commented
Sep 1, 2024
- Updated top of RichIterable javadoc to include method categories with links to methods
- Created region/endregion sections to correspond to method categories
b4ca99e
to
609871d
Compare
212e09a
to
66aa044
Compare
@motlin @prathasirisha Anything you need me to do to help land this PR? Thanks! |
@motlin @prathasirisha I did a quick sanity check and compared method counts between 11.1 and 12.0 with this PR (there is a difference of two new methods in 12.0 for RichIterable 11.1
RichIterable 12.0
|
@motlin @prathasirisha If there are no comments in the next two days, I will merge this PR. The only issue I see for this PR is that it will cause merge conflicts for PRs with any changes to |
@motlin @prathasirisha Here's a gist that shows how I have organized methods into method categories. If you're looking for where methods have moved, this might be helpful. The categories here should match the order they appear in the file. This blog also has an image of the Javadoc for |
I haven't had a chance to review this, but I don't have any particular concerns about sorting methods other than the potential for merge conflicts. I looked through my open PRs, and I don't think I'm going to get merge conflicts in any of mine. However, I have 10 non-draft ones that have passed tests that have been open for a while, and I'd love to land mine as well. I have other work that's waiting on my earlier work to land. I haven't checked anyone else's PRs for merge conflicts. Of our 42 open PRs, 23 of them are non-draft, have all passed checks, and have not been reviewed yet, so 13 more that aren't mine. I'd like to get into a faster pace of landing open PRs, but for this one I'd at least like to make sure it doesn't introduce merge conflicts. |
@motlin This PR is one class. Even if anyone has changed
No one should be doing a lot of work on anything on Merge conflicts have a very low percentage chance of causing any actual pain with this type IMO. Any merge conflicts may be noisy, but can be easily fixed if someone remembers what they were working on in a PR and simply reapplies it in the right place in the new version of the type. My two cents. |
@motlin @prathasirisha The only open PR with a potential merge conflict with RichIterable is #1353, which has been open for a while and has requested changes from Craig. To merge all that would be needed is copying the I am merging this now. Thanks. |