Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 73768 invoked from network); 2 Oct 2010 11:26:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 11:26:30 -0000 Received: (qmail 63225 invoked by uid 500); 2 Oct 2010 11:26:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 63189 invoked by uid 500); 2 Oct 2010 11:26:27 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 63182 invoked by uid 99); 2 Oct 2010 11:26:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 11:26:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcmuir@gmail.com designates 209.85.161.48 as permitted sender) Received: from [209.85.161.48] (HELO mail-fx0-f48.google.com) (209.85.161.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 11:26:19 +0000 Received: by fxm5 with SMTP id 5so3686465fxm.35 for ; Sat, 02 Oct 2010 04:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=a8b4GlD8Kf2tUY3MYD52srmVdpu8D3qt9B0iEJAyOpA=; b=r7jQYe0lNk1JcnP2jwb49W2xTkKKtR3JpH6QOLe/uxw5DVh1NPmUp1XfbOS/hZExca dC+V1Su0HvwFY1o007KI3jqJcAbhWAtpqfCajqQHO6ctE2vFVpovJDkDcMbnHDsy9YvQ rl6L8Y8tcAWJk2Uast1NhnQtDTk7zt/CQu104= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=BS/1CIJ3JAk7+jmZRp/6oy2n8e2wXC5FoYDz2FFkg+hXRTd9/eBHG+xpUB/enxBh3V 5hLAe7p07y3ydAJwD54i2QabKWfF+lgYDu4fjWtxkaxRnBajfUzYOUYOljXMmv4lCi1R cKe7Em3nv8OCQc9K1bw//4icOcVcnW3/RpF5w= Received: by 10.223.120.211 with SMTP id e19mr6558731far.83.1286018758528; Sat, 02 Oct 2010 04:25:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.106.19 with HTTP; Sat, 2 Oct 2010 04:25:38 -0700 (PDT) In-Reply-To: <20101002000013.61F282388B4E@eris.apache.org> References: <20101002000013.61F282388B4E@eris.apache.org> From: Robert Muir Date: Sat, 2 Oct 2010 07:25:38 -0400 Message-ID: Subject: Re: svn commit: r1003714 - /lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=0016e68fcf5c46cfd40491a093ee --0016e68fcf5c46cfd40491a093ee Content-Type: text/plain; charset=UTF-8 thanks Uwe! I think we need to open a bug at Oracle/Sun for this... or we need a sophisticated interface @override checker... On Fri, Oct 1, 2010 at 8:00 PM, wrote: > Author: uschindler > Date: Sat Oct 2 00:00:13 2010 > New Revision: 1003714 > > URL: http://svn.apache.org/viewvc?rev=1003714&view=rev > Log: > LUCENE-2507: Fix Java 1.5 violation thanks to hudson with 1.5 :-) > > Modified: > > lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java > > Modified: > lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java > URL: > http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java?rev=1003714&r1=1003713&r2=1003714&view=diff > > ============================================================================== > --- > lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java > (original) > +++ > lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java > Sat Oct 2 00:00:13 2010 > @@ -66,7 +66,6 @@ public class DirectSpellChecker { > * > */ > public static final StringDistance INTERNAL_LEVENSHTEIN = new > StringDistance() { > - @Override > public float getDistance(String s1, String s2) { > throw new UnsupportedOperationException("Not for external use."); > }}; > > > -- Robert Muir rcmuir@gmail.com --0016e68fcf5c46cfd40491a093ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks Uwe!

I think we need to open a bug at Oracle/Sun = for this... or we need a sophisticated interface @override checker...
=

On Fri, Oct 1, 2010 at 8:00 PM, <uschindler@apache.= org> wrote:
Author: uschindler
Date: Sat Oct =C2=A02 00:00:13 2010
New Revision: 1003714

URL: http://svn.apache.org/viewvc?rev=3D1003714&view=3Drev=
Log:
LUCENE-2507: Fix Java 1.5 violation thanks to hudson with 1.5 :-)

Modified:
=C2=A0 =C2=A0lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apa= che/lucene/search/spell/DirectSpellChecker.java

Modified: lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/= lucene/search/spell/DirectSpellChecker.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/sp= ellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java?= rev=3D1003714&r1=3D1003713&r2=3D1003714&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D
--- lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene= /search/spell/DirectSpellChecker.java (original)
+++ lucene/dev/trunk/lucene/contrib/spellchecker/src/java/org/apache/lucene= /search/spell/DirectSpellChecker.java Sat Oct =C2=A02 00:00:13 2010
@@ -66,7 +66,6 @@ public class DirectSpellChecker {
=C2=A0 =C2=A0* =C2=A0</ul>
=C2=A0 =C2=A0*/
=C2=A0 public static final StringDistance INTERNAL_LEVENSHTEIN =3D new Str= ingDistance() {
- =C2=A0 =C2=A0@Override
=C2=A0 =C2=A0 public float getDistance(String s1, String s2) {
=C2=A0 =C2=A0 =C2=A0 throw new UnsupportedOperationException("Not for= external use.");
=C2=A0 =C2=A0 }};





--
Robert Muir
rcmuir@gmail.com
--0016e68fcf5c46cfd40491a093ee--