You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/10/12 02:27:00 UTC

[jira] [Updated] (RANGER-1829) RangerPolicy should use equals() to check equal for object of resources/policyItems/denyPolicyItems/allowExceptions/denyExceptions/dataMaskPolicyItems/rowFilterPolicyItems

     [ https://issues.apache.org/jira/browse/RANGER-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Qiang Zhang updated RANGER-1829:
--------------------------------
    Attachment: 0001-RANGER-1829-RangerPolicy-should-use-equals-to-check-.patch

> RangerPolicy should use equals() to check equal for object of resources/policyItems/denyPolicyItems/allowExceptions/denyExceptions/dataMaskPolicyItems/rowFilterPolicyItems
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1829
>                 URL: https://issues.apache.org/jira/browse/RANGER-1829
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: master
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>            Priority: Minor
>             Fix For: master
>
>         Attachments: 0001-RANGER-1829-RangerPolicy-should-use-equals-to-check-.patch
>
>
> When RangerPolicy check the equal for object of resources/policyItems/denyPolicyItems/allowExceptions/denyExceptions/dataMaskPolicyItems/rowFilterPolicyItems, it uses the "==" operator.
> But it should not use "==", use "equals()" is correctly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)