[
https://issues.apache.org/jira/browse/RANGER-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205487#comment-16205487
]
peng.jianhua commented on RANGER-1829:
--------------------------------------
Hi [~abhayk] and [~rmani], I agree with [~bosco]'s opinion. These codes did not
express the real logic. They were the wrong code. Do we not really need to
modify them?
> 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
> 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)