[ 
https://issues.apache.org/jira/browse/LUCENENET-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781955#action_12781955
 ] 

Andrei Iliev commented on LUCENENET-287:
----------------------------------------

Upd. 

Actually
ArrayList.GetRange Method - Returns an ArrayList which represents a subset of 
the elements in the source 
List.GetRange Method - Creates a shallow copy of a range of elements in the 
source List. 

That is why we had no problems when SegmentInfos was derived from ArrayList, 
but got a proble when derive from SupportClass.EquatableList

> TestIndexWriterReader.TestUpdateDocument  
> ------------------------------------------
>
>                 Key: LUCENENET-287
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-287
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Andrei Iliev
>         Attachments: SegmentInfos.patch, SegmentInfos2.patch
>
>
> SegmentInfos  is derived from ArrayList. So Equals and GetHashCode should 
> behave as java ArrayList (see LUCENENET-284).
> After that patch TestIndexWriterReader.TestUpdateDocument is passed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to