hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-825) Code cleanup based on messages from ErrorProne
Date Fri, 09 Nov 2018 05:34:00 GMT
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

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

View raw message