You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/11/12 03:30:00 UTC

[jira] [Created] (KNOX-2122) Code cleanup from static code analysis

Kevin Risden created KNOX-2122:
----------------------------------

             Summary: Code cleanup from static code analysis
                 Key: KNOX-2122
                 URL: https://issues.apache.org/jira/browse/KNOX-2122
             Project: Apache Knox
          Issue Type: Improvement
            Reporter: Kevin Risden
            Assignee: Kevin Risden
             Fix For: 1.4.0


* Diamond operator
* Static method calls instead of on instances
* Remove null check before instanceof
* Use computeIfAbsent where possible
* Remove simple nested if statements
* Remove redundant cast



--
This message was sent by Atlassian Jira
(v8.3.4#803005)