Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2409

Fix Java style checkers and linters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • NA
    • None
    • None

    Description

      Currently our Java build supports code quality checks like checkstyle but does not enable them to break the build because we have too many existing issues.

      This Jira is to track:

      • Fixing checkstyle issues
      • Fixing findbugs issues (change to SpotBugs?)
      • Fixing PMD issues
      • Fixing Javadoc linter issues
      • Fixing un-annotated deprecated and unsafe usages
      • Adding flags to detect/prevent the issues in the future

      Note: We may also want to prevent the use of some packages/classes. For example we could prevent the use of "com.google.common.annotations.VisibleForTesting" given that Yetus is our audience interface annotation library of choice.

       

      Attachments

        Issue Links

          Activity

            People

              granthenke Grant Henke
              granthenke Grant Henke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: