Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 42325 invoked from network); 29 Oct 2006 21:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2006 21:35:30 -0000 Received: (qmail 42789 invoked by uid 500); 29 Oct 2006 21:35:38 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 42745 invoked by uid 500); 29 Oct 2006 21:35:38 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 42734 invoked by uid 99); 29 Oct 2006 21:35:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Oct 2006 13:35:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [169.229.70.167] (HELO rescomp.berkeley.edu) (169.229.70.167) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Oct 2006 13:34:52 -0800 Received: by rescomp.berkeley.edu (Postfix, from userid 1007) id 98D855B775; Sun, 29 Oct 2006 13:34:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by rescomp.berkeley.edu (Postfix) with ESMTP id 952267F403 for ; Sun, 29 Oct 2006 13:34:12 -0800 (PST) Date: Sun, 29 Oct 2006 13:34:12 -0800 (PST) From: Chris Hostetter To: java-dev@lucene.apache.org Subject: Re: [jira] Created: (LUCENE-682) QueryParser with Locale Based Operators (French included) In-Reply-To: <48b038c60610290704p568b9e76h98f3df11b0a9f63b@mail.gmail.com> Message-ID: References: <4904499.1160772695168.JavaMail.jira@brutus> <48b038c60610261832q637f9316v90701a31ece03dac@mail.gmail.com> <48b038c60610281937l78e2ac58u8ee64ab8b6469ea7@mail.gmail.com> <48b038c60610290704p568b9e76h98f3df11b0a9f63b@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org : Unfortunately, no. If Iuse getStringArray while using a : PropertyResourceBundle to backup the ResourceBundle, getStringArray(key) : give a classCastException, as it is just a Wrapper for : (String[]) : getObject(key). Hmmm... so aparently ResourceBundles suck. good to know. : Knowing what I said previously, should I still call getStringArray, catch : the exception and there use getString. Seems costly to me, as most will : probably a PropertiesResourceBundle to store values. What do you think? i retract all of my previous suggestions about getStringArray ... go with your gut, do the simplest thing that works. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org