-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-17138. Fix spotbugs warnings surfaced after upgrade to 4.0.6. #2155
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
|
The patch cleared all spotbugs warnings on my local. |
|
Thank you @iwasakims for the PR. How about fixing - holder.held++;
+ holder.held = holder.held + 1;fixes the warning and removes unnecessary operations. I ran |
|
💔 -1 overall
This message was automatically generated. |
… positive DLS_DEAD_LOCAL_STORE.
Thanks, @aajisaka. It would be better to fix the code and make the diff smaller. I thought filtering the warning via excludeFilterFile would make the intent clear but it is ad hoc workaround for compiler specific issue anyway. JIRA should be referred for the background. I updated the patch. |
|
💔 -1 overall
This message was automatically generated. |
|
Tests failed due to web authentication error. The patch does not touch relevant code. |
aajisaka
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.
Thank you for updating the patch. +1.
|
I merged this. Thanks, @aajisaka. |
…pache#2155) (cherry picked from commit 1b29c9b)
…2155) (#2538) (cherry picked from commit 1b29c9b) Co-authored-by: Masatake Iwasaki <[email protected]>
…pache#2155) (cherry picked from commit 1b29c9b)
…2155) (#2806) (cherry picked from commit 1b29c9b) Co-authored-by: Masatake Iwasaki <[email protected]>
Please refer to comments of HADOOP-17138 for the description.