[ https://issues.apache.org/jira/browse/LUCENENET-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782597#action_12782597 ]
Digy edited comment on LUCENENET-287 at 11/25/09 8:22 PM: ---------------------------------------------------------- I liked that SegmentInfos3.patch. To avoid a type casting exception {code} SegmentInfos objToCompare = obj as SegmentInfos; if (objToCompare == null) return false; {code} can be used. DIGY was (Author: digydigy): I liked that SegmentInfos3.patch DIGY > 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, > SegmentInfos3.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.