From lucene-net-dev-return-797-apmail-incubator-lucene-net-dev-archive=incubator.apache.org@incubator.apache.org Tue Aug 21 02:02:11 2007 Return-Path: Delivered-To: apmail-incubator-lucene-net-dev-archive@locus.apache.org Received: (qmail 74532 invoked from network); 21 Aug 2007 02:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2007 02:02:10 -0000 Received: (qmail 62564 invoked by uid 500); 21 Aug 2007 02:02:07 -0000 Delivered-To: apmail-incubator-lucene-net-dev-archive@incubator.apache.org Received: (qmail 62541 invoked by uid 500); 21 Aug 2007 02:02:07 -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 62532 invoked by uid 99); 21 Aug 2007 02:02:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 19:02:07 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2007 02:02:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9EF90714163 for ; Mon, 20 Aug 2007 19:01:38 -0700 (PDT) Message-ID: <24240759.1187661698645.JavaMail.jira@brutus> Date: Mon, 20 Aug 2007 19:01:38 -0700 (PDT) From: "George Aroush (JIRA)" To: lucene-net-dev@incubator.apache.org Subject: [jira] Assigned: (LUCENENET-69) FSIndexInput.isFDValid() not ported correctly In-Reply-To: <26404009.1187203891006.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-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] George Aroush reassigned LUCENENET-69: -------------------------------------- Assignee: George Aroush > FSIndexInput.isFDValid() not ported correctly > --------------------------------------------- > > Key: LUCENENET-69 > URL: https://issues.apache.org/jira/browse/LUCENENET-69 > Project: Lucene.Net > Issue Type: Bug > Reporter: Jeff > Assignee: George Aroush > Priority: Minor > Attachments: FSDirectory.patch > > > FSIndexInput.isFDValid() was not ported correctly because it doesn't translate one to one. After looking into this a little more... file.getFD is part of the FileInputStream class in java. This would be the base stream of file. so if the basestream is null it would be invalid. if it is not null it would be valid. After making this change all TestCompoundFile tests pass. > public virtual bool IsFDValid() > { > return (file.BaseStream != null); > //return true; // return file.getFD().valid(); // {{Aroush-2.1 in .NET, how do we do this? > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.