lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff (JIRA)" <>
Subject [jira] Commented: (LUCENENET-59) QueryUtils has some invalid Asserts
Date Tue, 14 Aug 2007 20:11:30 GMT


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.


> QueryUtils has some invalid Asserts
> -----------------------------------
>                 Key: LUCENENET-59
>                 URL:
>             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.

View raw message