szetszwo commented on pull request #2233:
URL: https://github.com/apache/hadoop/pull/2233#issuecomment-681643051


   > 
./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java:1574:
    assert assertsEnabled = true; // Intentional side effect!!!:27: Inner 
assignments should be avoided. [InnerAssignment]
   
   @bshashikant The checkstyle issue is intentional as stated in the comment.  
That is the way to check if assert is enabled in the code.


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to