Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 81415 invoked from network); 5 Feb 2008 22:23:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 22:23:30 -0000 Received: (qmail 43137 invoked by uid 500); 5 Feb 2008 22:23:21 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 43108 invoked by uid 500); 5 Feb 2008 22:23:21 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 43099 invoked by uid 99); 5 Feb 2008 22:23:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 14:23:21 -0800 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, 05 Feb 2008 22:23:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B189971406E for ; Tue, 5 Feb 2008 14:23:08 -0800 (PST) Message-ID: <3494474.1202250188723.JavaMail.jira@brutus> Date: Tue, 5 Feb 2008 14:23:08 -0800 (PST) From: "Ryan McKinley (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-472) SolrResourceLoader calls normalizeDir twice on when the input instanceDir is null In-Reply-To: <1379663.1202231171487.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/SOLR-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley resolved SOLR-472. -------------------------------- Resolution: Fixed Fix Version/s: 1.3 thanks grant! > SolrResourceLoader calls normalizeDir twice on when the input instanceDir is null > --------------------------------------------------------------------------------- > > Key: SOLR-472 > URL: https://issues.apache.org/jira/browse/SOLR-472 > Project: Solr > Issue Type: Improvement > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Trivial > Fix For: 1.3 > > Attachments: SOLR-472.patch > > > Minor nit I noticed while looking at the SolrResourceLoader: > When the instanceDir is null upon constructing a SolrResourceLoader, normalizeDir is called twice, once by locateInstanceDir, and then again in the constructor. > Patch to follow that also adds some docs on it and a simple unit test, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.