Skip to content
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

[MINOR] Simplify creating buffer logic #227

Merged
merged 1 commit into from
Sep 16, 2022
Merged

Conversation

zuston
Copy link
Member

@zuston zuston commented Sep 16, 2022

What changes were proposed in this pull request?

[MINOR] Simplify creating buffer logic

Why are the changes needed?

Minor improvement to avoid duplicate code.

Does this PR introduce any user-facing change?

No

How was this patch tested?

No need.

@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2022

Codecov Report

Merging #227 (5f0287a) into master (a775ea4) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #227      +/-   ##
============================================
- Coverage     59.13%   59.12%   -0.01%     
+ Complexity     1327     1326       -1     
============================================
  Files           160      160              
  Lines          8727     8725       -2     
  Branches        817      816       -1     
============================================
- Hits           5161     5159       -2     
  Misses         3301     3301              
  Partials        265      265              
Impacted Files Coverage Δ
.../org/apache/spark/shuffle/writer/WriterBuffer.java 93.18% <100.00%> (-0.30%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @zuston

@jerqi jerqi merged commit b9bc7ce into apache:master Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants