You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Zsombor Gegesy (JIRA)" <ji...@apache.org> on 2017/03/07 12:01:37 UTC
[jira] [Updated] (RANGER-1427) Remove dead code from
XResourceService
[ https://issues.apache.org/jira/browse/RANGER-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zsombor Gegesy updated RANGER-1427:
-----------------------------------
Attachment: 0001-RANGER-1428-Remove-a-lot-of-not-used-code-found-beca.patch
> Remove dead code from XResourceService
> --------------------------------------
>
> Key: RANGER-1427
> URL: https://issues.apache.org/jira/browse/RANGER-1427
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 0.7.0
> Reporter: Zsombor Gegesy
> Assignee: Zsombor Gegesy
> Labels: code-cleanup
> Fix For: 1.0.0
>
> Attachments: 0001-RANGER-1428-Remove-a-lot-of-not-used-code-found-beca.patch
>
>
> During code review, I've noticed that XResourceService calls Boolean.getBoolean, which is usually a very suspicious signal - it is rarely used, and can be easily confused with Boolean.valueOf. After more investigation, I figured out that that code is never called, so it can be removed
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)