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  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 {
   *  </ul>
   */
  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