[ https://issues.apache.org/jira/browse/RANGER-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202486#comment-16202486 ]
Ramesh Mani commented on RANGER-1829: ------------------------------------- [~zhangqiang2] This change seems need not be done. I would refer to [~abhayk] [~mad...@apache.org] to review and comment. > 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)