[
https://issues.apache.org/jira/browse/DIRSHARED-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871473#action_12871473
]
Steve hammond commented on DIRSHARED-27:
----------------------------------------
The patch attached is quite basic. Clone the 2 items, run
branchNormalizedVisitor on each, then compare with equals. The test case
included in the patch is simplistic, but should also work in more complex
cases. it will not find the cases like ( ! ( | (a=b)(d=c) ) being the same as
( ( a = b )( d = c) but will check most equalities. And those are not equal,
but there is some way to show an and using not and or.
> need equals function that ignores order and oids
> ------------------------------------------------
>
> Key: DIRSHARED-27
> URL: https://issues.apache.org/jira/browse/DIRSHARED-27
> Project: Directory Shared
> Issue Type: New Feature
> Affects Versions: 0.9.13
> Reporter: Steve hammond
> Assignee: Emmanuel Lecharny
> Fix For: 1.1.0
>
> Attachments: equalsIgnoreOrder.patch
>
>
> it would be nice to compare 2 filters without worrying about case
> also without worrying about whether one is normailized to oid's and one is
> not.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.