[ https://issues.apache.org/jira/browse/RANGER-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204829#comment-16204829 ]
Don Bosco Durai commented on RANGER-1829: ----------------------------------------- [~abhayk], it might be good to have some comments for such cases. Thanks > 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)