Anu Engineer created HDDS-825:
---------------------------------

             Summary: Code cleanup based on messages from ErrorProne
                 Key: HDDS-825
                 URL: https://issues.apache.org/jira/browse/HDDS-825
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
    Affects Versions: 0.3.0
            Reporter: Anu Engineer
            Assignee: Anu Engineer


I ran ErrorProne (http://errorprone.info/) on Ozone/HDDS code base and it threw 
lots of errors. This patch fixes many issues pointed out by ErrorProne.

The main classes of errors fixed in this patch are:
* http://errorprone.info/bugpattern/DefaultCharset
* http://errorprone.info/bugpattern/ComparableType
* http://errorprone.info/bugpattern/StringSplitter
* http://errorprone.info/bugpattern/IntLongMath
* http://errorprone.info/bugpattern/JavaLangClash
* http://errorprone.info/bugpattern/CatchFail
* http://errorprone.info/bugpattern/JdkObsolete
* http://errorprone.info/bugpattern/AssertEqualsArgumentOrderChecker
* http://errorprone.info/bugpattern/CatchAndPrintStackTrace

It is pretty educative to read through these errors and see the mistakes we 
made.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to