From lucene-net-dev-return-1562-apmail-incubator-lucene-net-dev-archive=incubator.apache.org@incubator.apache.org Wed Oct 08 20:32:16 2008 Return-Path: Delivered-To: apmail-incubator-lucene-net-dev-archive@locus.apache.org Received: (qmail 18139 invoked from network); 8 Oct 2008 20:32:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2008 20:32:16 -0000 Received: (qmail 82791 invoked by uid 500); 8 Oct 2008 20:32:15 -0000 Delivered-To: apmail-incubator-lucene-net-dev-archive@incubator.apache.org Received: (qmail 82760 invoked by uid 500); 8 Oct 2008 20:32:15 -0000 Mailing-List: contact lucene-net-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@incubator.apache.org Delivered-To: mailing list lucene-net-dev@incubator.apache.org Received: (qmail 82749 invoked by uid 99); 8 Oct 2008 20:32:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 13:32:15 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 20:31:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3C49C234C1E4 for ; Wed, 8 Oct 2008 13:31:44 -0700 (PDT) Message-ID: <2127361684.1223497904232.JavaMail.jira@brutus> Date: Wed, 8 Oct 2008 13:31:44 -0700 (PDT) From: "Doug Sale (JIRA)" To: lucene-net-dev@incubator.apache.org Subject: [jira] Updated: (LUCENENET-157) SegmentMerger.AddIndexed expects *Reader.GetFieldNames to return a 1-dimensional ICollection In-Reply-To: <94187001.1223487104206.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENENET-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Sale updated LUCENENET-157: -------------------------------- Summary: SegmentMerger.AddIndexed expects *Reader.GetFieldNames to return a 1-dimensional ICollection (was: SegmentMerger.AddIndexed() performs an illegal cast) > SegmentMerger.AddIndexed expects *Reader.GetFieldNames to return a 1-dimensional ICollection > -------------------------------------------------------------------------------------------- > > Key: LUCENENET-157 > URL: https://issues.apache.org/jira/browse/LUCENENET-157 > Project: Lucene.Net > Issue Type: Bug > Environment: any/all > Reporter: Doug Sale > Attachments: AnotherPatch.rar, 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.