[
https://issues.apache.org/jira/browse/KNOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972917#comment-16972917
]
ASF subversion and git services commented on KNOX-2122:
-------------------------------------------------------
Commit 14ac2900373e641423bf91cfb5d2faf00bed1e52 in knox's branch
refs/heads/master from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=14ac290 ]
KNOX-2122 - Remove deprecated API usages (#194)
Signed-off-by: Kevin Risden <[email protected]>
> 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
> Priority: Minor
> Fix For: 1.4.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> * 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
> * Use entrySet for iteration of maps
> * Use ThreadLocalRandom
> * Remove deprecated API usages
--
This message was sent by Atlassian Jira
(v8.3.4#803005)