You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/03/23 17:05:21 UTC

[GitHub] [hadoop] aajisaka commented on a change in pull request #2806: HADOOP-17138. Fix spotbugs warnings surfaced after upgrade to 4.0.6.

aajisaka commented on a change in pull request #2806:
URL: https://github.com/apache/hadoop/pull/2806#discussion_r599765175



##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
##########
@@ -3716,7 +3716,7 @@ void incrUserConnections(String user) {
         if (count == null) {
           count = 1;
         } else {
-          count++;

Review comment:
       This change is a workaround for the bug of the javac compiler.
   https://github.com/spotbugs/spotbugs/issues/571#issuecomment-368337883




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org