-
Notifications
You must be signed in to change notification settings - Fork 420
Cleanup Partition
Nullability
#881
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
Codecov Report
@@ Coverage Diff @@
## master #881 +/- ##
==========================================
+ Coverage 92.38% 92.58% +0.20%
==========================================
Files 110 108 -2
Lines 3441 3440 -1
Branches 1020 1024 +4
==========================================
+ Hits 3179 3185 +6
+ Misses 200 194 -6
+ Partials 62 61 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Like PR #882, this make unrelated changes (doc and nullability revisions). Please submit one overall idea/feature per PR.
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, but the bulk of changes seem to be unrelated (and I've highlighted a few):
- Formatting changes
- More eager argument validation
- Annotation of some arguments with parameter names.
uses nullable
TKey
values in the implementation to more accurately express the code.
This is the only change that should be in here, which is towards the end of Partition.cs
.
I would avoid the temptation to bundle unrelated changes as it has the following downsides:
- The diff/patch is larger than it needs to be.
- As a result of the above point, it takes longer to review the PR.
- The PR subject line or the commit message won't reflect the actual change (lost in the noise).
- The final commit won't be atomic so, e.g., if someone wants to revert it in the future, it will undo more work than necessary.
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.
Thank you!
94F5
This PR adds to #803. It uses nullable
TKey
values in the implementation to more accurately express the code.