[
https://issues.apache.org/jira/browse/LUCENENET-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519761
]
Jeff commented on LUCENENET-59:
-------------------------------
I would agree.. however the only reason why it is failing is because an
arraylist has a capacity of 4 instead of 2 which is failing the GetHashCode().
ToString() compares the full query so I figured that would be enough. There are
no extra values in these fields, the extra values are null. I will find out
where these values are removed and add a TrimToSize() to clean up this
arraylist. This will make these match. I will take a look.
Jeff
> QueryUtils has some invalid Asserts
> -----------------------------------
>
> Key: LUCENENET-59
> URL: https://issues.apache.org/jira/browse/LUCENENET-59
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Jeff
> Priority: Minor
> Attachments: QueryUtils.patch, QueryUtils.patch2
>
>
> NUnit tests are failing because of bad Asserts in CheckEqual(Query q1, Query
> q2) and CheckUnequal(Query q1, Query q2).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.