Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 50236 invoked from network); 30 Jun 2009 11:49:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 11:49:01 -0000 Received: (qmail 65208 invoked by uid 500); 30 Jun 2009 11:49:11 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 65145 invoked by uid 500); 30 Jun 2009 11:49:11 -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 65137 invoked by uid 99); 30 Jun 2009 11:49:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 11:49:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 30 Jun 2009 11:49:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6C0F3234C004 for ; Tue, 30 Jun 2009 04:48:47 -0700 (PDT) Message-ID: <531460119.1246362527428.JavaMail.jira@brutus> Date: Tue, 30 Jun 2009 04:48:47 -0700 (PDT) From: "Uwe Schindler (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1724) Analysis package calls Java 1.5 API In-Reply-To: <1967810359.1246356107712.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725586#action_12725586 ] Uwe Schindler commented on LUCENE-1724: --------------------------------------- A possible solution would be LUCENE-718. > Analysis package calls Java 1.5 API > ----------------------------------- > > Key: LUCENE-1724 > URL: https://issues.apache.org/jira/browse/LUCENE-1724 > Project: Lucene - Java > Issue Type: Improvement > Components: Analysis > Reporter: Simon Willnauer > Assignee: Michael McCandless > Fix For: 2.9 > > Attachments: CharacterCache.patch > > > I found compile errors when I tried to compile trunk with 1.4 JVM. > org.apache.lucene.analysis.NormalizeCharMap > org.apache.lucene.analysis.MappingCharFilter > uses Character.valueOf() which has been added in 1.5. > I added a CharacterCache (+ testcase) with a valueOf method as a replacement for that quite useful method. > org.apache.lucene.analysis.BaseTokenTestCase > uses StringBuilder instead of the synchronized version StringBuffer (available in 1.4) > I will attach a patch shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org