You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2017/04/27 19:58:05 UTC
[jira] [Updated] (KNOX-892) Fix FindBugs "Dodgy Code" issues
[ https://issues.apache.org/jira/browse/KNOX-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Larry McCay updated KNOX-892:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Fix FindBugs "Dodgy Code" issues
> --------------------------------
>
> Key: KNOX-892
> URL: https://issues.apache.org/jira/browse/KNOX-892
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 0.13.0
>
> Attachments: 0001-KNOX-892-Fix-FindBugs-Dodgy-Code-issues.patch
>
>
> This task is to fix some of the FindBugs "Dodgy Code" issues. Among the issues fixed are:
> a) Write to static variables from instance methods
> b) Replaced EMPTY_* with empty* to remove some warnings
> c) Removed some unnecessary testing for null
> d) Fixed some potential NPEs on File.listFiles() if the path refers to a file rather than a directory.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)