You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/03 02:46:00 UTC
[jira] [Resolved] (KUDU-2409) Fix Java style checkers and linters
[ https://issues.apache.org/jira/browse/KUDU-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Henke resolved KUDU-2409.
-------------------------------
Fix Version/s: NA
Resolution: Fixed
This is resolved via a bunch of fixes along with an update to the CI Lint build to fail with Java static analysis checks: https://github.com/apache/kudu/commit/5b0fc45d610237983ac860e9ad88fe01424802eb
> Fix Java style checkers and linters
> -----------------------------------
>
> Key: KUDU-2409
> URL: https://issues.apache.org/jira/browse/KUDU-2409
> Project: Kudu
> Issue Type: Improvement
> Affects Versions: 1.7.0
> Reporter: Grant Henke
> Assignee: Grant Henke
> Priority: Major
> Fix For: NA
>
>
> 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.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)