Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 68479 invoked from network); 8 Apr 2008 21:54:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 21:54:36 -0000 Received: (qmail 29175 invoked by uid 500); 8 Apr 2008 21:54:30 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 29124 invoked by uid 500); 8 Apr 2008 21:54:30 -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 29113 invoked by uid 99); 8 Apr 2008 21:54:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 14:54:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.46.28] (HELO yw-out-2324.google.com) (74.125.46.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 21:53:48 +0000 Received: by yw-out-2324.google.com with SMTP id 5so428234ywh.5 for ; Tue, 08 Apr 2008 14:53:59 -0700 (PDT) Received: by 10.151.142.2 with SMTP id u2mr4271354ybn.216.1207691639393; Tue, 08 Apr 2008 14:53:59 -0700 (PDT) Received: from ?10.17.4.4? ( [72.93.214.93]) by mx.google.com with ESMTPS id h40sm17576224wxd.36.2008.04.08.14.53.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Apr 2008 14:53:59 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <47FBE7F8.3000005@teamware.com> References: <47FAA9F1.9090902@teamware.com> <54B1D823-D69E-4EFC-B6DE-289E91AFA625@mikemccandless.com> <47FBE7F8.3000005@teamware.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Michael McCandless Subject: Re: StandardTokenizerConstants in 2.3 Date: Tue, 8 Apr 2008 17:54:17 -0400 To: java-dev@lucene.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org But, StandardTokenizer is public? It "exports" those constants for you? Mike Antony Bowesman wrote: >> But, the constants that are used by StandardTokenizer are still >> available as static ints in the StandardTokenizer class (ie, >> ALPHANUM, >> APOSTROPHE, etc.). Does that work? > > Problem as mentioned below is that the StandardTokenizerImpl.java > is package private and even though the ints and string array are > declared as public static, they are not visible. > > Antony > > >> Mike >> Antony Bowesman wrote: >>> I'm migrating from 2.1 to 2.3 and found that the public interface >>> StandardTokenizerConstants has gone. It looks like the >>> definitions have disappeared inside the package private class >>> StandardTokenizerImpl. >>> >>> Was this intentional? I was using these to determine the returns >>> values from Token.type(). >>> >>> Antony >>> >>> >>> -------------------------------------------------------------------- >>> - >>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >>> For additional commands, e-mail: java-dev-help@lucene.apache.org >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-dev-help@lucene.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org