lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <>
Subject [jira] Commented: (LUCENENET-157) SegmentMerger.AddIndexed() performs an illegal cast
Date Wed, 08 Oct 2008 18:03:44 GMT


Digy commented on LUCENENET-157:

I think, it would be better to change the GetFieldNames methods in ParallelReader, SegmentReader
and MultiSegmentReader so that they return
ICollection not IDictionary 
(like return hashTable --> return hastTable.Keys)


> SegmentMerger.AddIndexed() performs an illegal cast
> ---------------------------------------------------
>                 Key: LUCENENET-157
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: any/all
>            Reporter: Doug Sale
>         Attachments: SegmentMerger.patch
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
> This is an error introduced via the JLCA (automated porting process) and stems from the
use of System.Collections.Hashtable in the role of java.util.HashSet.
> SegmentMerger.AddIndexed() is passed a Hashtable as its 3rd argument, but treats it as
if it were a 1-dimensional collection (e.g., IList).

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

View raw message