lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r1420195 [3/13] - in /lucene/dev/trunk: lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/ lucene/analysis/common/src/java/org/apache/lucene/analysis/br/ lucene/ana
Date Tue, 11 Dec 2012 15:33:28 GMT
We can fix the packed ints source file (which is python). JFlex and JavaCC are affected because of their own created methods not appearing in a source file - we have no chance to fix this.

 

The best you can do is to re-run all those autogen methods and where possible fix the underlying source file (e.g. the .py files in packed ints).

 

These are the targets:

lucene/queryparser: ant javacc (works without installing anything, downloads via IVY)

lucene/analysis/common: ant jflex (you have to install jflex trunk, exactly the revision number noted)

lucene/core: ant createPackedIntSources (needs python 2.7) -> fix the .py file before so it adds @Override

 

I have not verified all touched files, but those are the ones I have seen initially.

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: Shai Erera [mailto:serera@gmail.com] 
Sent: Tuesday, December 11, 2012 4:23 PM
To: dev@lucene.apache.org
Subject: Re: svn commit: r1420195 [3/13] - in /lucene/dev/trunk: lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/ lucene/analysis/common/src/java/org/apache/lucene/analysis/br/ lucene/ana

 

I only fixed missing @Override in eclipse. There were like 2000 warnings, so I did a bulk fix.

If it affects something, then by all means let's revert the changes to these files. I was under the impression that adding the @Override tag is harmless.
How is JFlex affected?
Can we add the @Override to the source files, or are these methods that JFlex creates?

Anyway, I'm in the middle of committing these changes to 4x (commit is halfway through). Can you send me a list of the files and I'll revert?

Shai

 

On Tue, Dec 11, 2012 at 5:20 PM, Uwe Schindler <uwe@thetaphi.de> wrote:

This affects: JFlex tokenizers and charfilters, all query parsers and also  lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Direct*.java files. Should I revert those my regenerating those?

We wanted to add a Jenkins task that automatically regenerates all those files (unfortunately there are tools used, that are not in IVY, so must be installed locally, like python), but we should really work towards that!

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Tuesday, December 11, 2012 4:11 PM
> To: dev@lucene.apache.org
> Subject: RE: svn commit: r1420195 [3/13] - in /lucene/dev/trunk:
> lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/
> lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/
> lucene/analysis/common/src/java/org/apache/lucene/analysis/br/
> lucene/ana
>
> Hi Shaie,
>
> Those files are autogen'ed and now differ from whats created by running ant
> jflex...
> You should not touch autogenerated files and instead (if possible fix the
> original file). Otherwise the changes get lost easily.
>
> Was there an issue about that?
>
> Uwe
>
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/standard/UAX29URLEmailTokenizerImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl
> > .java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/standard/UAX29URLEmailTokenizerImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/standard/UAX29URLEmailTokenizerImpl.java Tue Dec 11 14:31:01
> 2012
> > @@ -4033,6 +4033,7 @@ public final class UAX29URLEmailTokenize
> >
> >    public static final int URL_TYPE = UAX29URLEmailTokenizer.URL;
> >
> > +  @Override
> >    public final int yychar()
> >    {
> >      return yychar;
> > @@ -4041,6 +4042,7 @@ public final class UAX29URLEmailTokenize
> >    /**
> >     * Fills CharTermAttribute with the current token text.
> >     */
> > +  @Override
> >    public final void getText(CharTermAttribute t) {
> >      t.copyBuffer(zzBuffer, zzStartRead, zzMarkedPos-zzStartRead);
> >    }
> > @@ -4155,6 +4157,7 @@ public final class UAX29URLEmailTokenize
> >     *
> >     * @param reader   the new input stream
> >     */
> > +  @Override
> >    public final void yyreset(java.io.Reader reader) {
> >      zzReader = reader;
> >      zzAtBOL  = true;
> > @@ -4214,6 +4217,7 @@ public final class UAX29URLEmailTokenize
> >    /**
> >     * Returns the length of the matched text region.
> >     */
> > +  @Override
> >    public final int yylength() {
> >      return zzMarkedPos-zzStartRead;
> >    }
> > @@ -4269,6 +4273,7 @@ public final class UAX29URLEmailTokenize
> >     * @return      the next token
> >     * @exception   java.io.IOException  if any I/O-Error occurs
> >     */
> > +  @Override
> >    public int getNextToken() throws java.io.IOException {
> >      int zzInput;
> >      int zzAction;
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/sv/SwedishLightStemFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/sv/SwedishLightStemFilterFactory.java?
> > rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/sv/SwedishLightStemFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/sv/SwedishLightStemFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -34,6 +34,7 @@ import org.apache.lucene.analysis.util.T
> >   *
> >   */
> >  public class SwedishLightStemFilterFactory extends TokenFilterFactory {
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new SwedishLightStemFilter(input);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/th/ThaiWordFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/th/ThaiWordFilterFactory.java?rev=1420
> > 195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/th/ThaiWordFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/th/ThaiWordFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -34,6 +34,7 @@ import org.apache.lucene.analysis.util.T
> >   *
> >   */
> >  public class ThaiWordFilterFactory extends TokenFilterFactory {
> > +  @Override
> >    public ThaiWordFilter create(TokenStream input) {
> >      assureMatchVersion();
> >      return new ThaiWordFilter(luceneMatchVersion, input);
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/tr/TurkishLowerCaseFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/tr/TurkishLowerCaseFilterFactory.java?r
> > ev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/tr/TurkishLowerCaseFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/tr/TurkishLowerCaseFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -35,6 +35,7 @@ import org.apache.lucene.analysis.util.T
> >   *
> >   */
> >  public class TurkishLowerCaseFilterFactory extends TokenFilterFactory
> > implements MultiTermAwareComponent {
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new TurkishLowerCaseFilter(input);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayIterator.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/util/CharArrayIterator.java?rev=1420195
> > &r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayIterator.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayIterator.java Tue Dec 11 14:31:01 2012
> > @@ -59,34 +59,41 @@ public abstract class CharArrayIterator
> >      this.limit = start + length;
> >    }
> >
> > +  @Override
> >    public char current() {
> >      return (index == limit) ? DONE : jreBugWorkaround(array[index]);
> >    }
> >
> >    protected abstract char jreBugWorkaround(char ch);
> >
> > +  @Override
> >    public char first() {
> >      index = start;
> >      return current();
> >    }
> >
> > +  @Override
> >    public int getBeginIndex() {
> >      return 0;
> >    }
> >
> > +  @Override
> >    public int getEndIndex() {
> >      return length;
> >    }
> >
> > +  @Override
> >    public int getIndex() {
> >      return index - start;
> >    }
> >
> > +  @Override
> >    public char last() {
> >      index = (limit == start) ? limit : limit - 1;
> >      return current();
> >    }
> >
> > +  @Override
> >    public char next() {
> >      if (++index >= limit) {
> >        index = limit;
> > @@ -96,6 +103,7 @@ public abstract class CharArrayIterator
> >      }
> >    }
> >
> > +  @Override
> >    public char previous() {
> >      if (--index < start) {
> >        index = start;
> > @@ -105,6 +113,7 @@ public abstract class CharArrayIterator
> >      }
> >    }
> >
> > +  @Override
> >    public char setIndex(int position) {
> >      if (position < getBeginIndex() || position > getEndIndex())
> >        throw new IllegalArgumentException("Illegal Position: " + position);
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayMap.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/util/CharArrayMap.java?rev=1420195&r
> > 1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayMap.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/CharArrayMap.java Tue Dec 11 14:31:01 2012
> > @@ -421,6 +421,7 @@ public class CharArrayMap<V> extends Abs
> >        while (pos < keys.length && keys[pos] == null) pos++;
> >      }
> >
> > +    @Override
> >      public boolean hasNext() {
> >        return pos < keys.length;
> >      }
> > @@ -451,11 +452,13 @@ public class CharArrayMap<V> extends Abs
> >      }
> >
> >      /** use nextCharArray() + currentValue() for better efficiency. */
> > +    @Override
> >      public Map.Entry<Object,V> next() {
> >        goNext();
> >        return new MapEntry(lastPos, allowModify);
> >      }
> >
> > +    @Override
> >      public void remove() {
> >        throw new UnsupportedOperationException();
> >      }
> > @@ -470,16 +473,19 @@ public class CharArrayMap<V> extends Abs
> >        this.allowModify = allowModify;
> >      }
> >
> > +    @Override
> >      public Object getKey() {
> >        // we must clone here, as putAll to another CharArrayMap
> >        // with other case sensitivity flag would corrupt the keys
> >        return keys[pos].clone();
> >      }
> >
> > +    @Override
> >      public V getValue() {
> >        return values[pos];
> >      }
> >
> > +    @Override
> >      public V setValue(V value) {
> >        if (!allowModify)
> >          throw new UnsupportedOperationException();
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/ElisionFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/util/ElisionFilterFactory.java?rev=142019
> > 5&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/ElisionFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/ElisionFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -38,6 +38,7 @@ public class ElisionFilterFactory extend
> >
> >    private CharArraySet articles;
> >
> > +  @Override
> >    public void inform(ResourceLoader loader) throws IOException {
> >      String articlesFile = args.get("articles");
> >      boolean ignoreCase = getBoolean("ignoreCase", false);
> > @@ -50,6 +51,7 @@ public class ElisionFilterFactory extend
> >      }
> >    }
> >
> > +  @Override
> >    public ElisionFilter create(TokenStream input) {
> >      return new ElisionFilter(input, articles);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/OpenStringBuilder.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/util/OpenStringBuilder.java?rev=142019
> > 5&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/OpenStringBuilder.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/util/OpenStringBuilder.java Tue Dec 11 14:31:01 2012
> > @@ -45,13 +45,16 @@ public class OpenStringBuilder implement
> >
> >    public char[] getArray() { return buf; }
> >    public int size() { return len; }
> > +  @Override
> >    public int length() { return len; }
> >    public int capacity() { return buf.length; }
> >
> > +  @Override
> >    public Appendable append(CharSequence csq) {
> >      return append(csq, 0, csq.length());
> >    }
> >
> > +  @Override
> >    public Appendable append(CharSequence csq, int start, int end) {
> >      reserve(end-start);
> >      for (int i=start; i<end; i++) {
> > @@ -60,11 +63,13 @@ public class OpenStringBuilder implement
> >      return this;
> >    }
> >
> > +  @Override
> >    public Appendable append(char c) {
> >      write(c);
> >      return this;
> >    }
> >
> > +  @Override
> >    public char charAt(int index) {
> >      return buf[index];
> >    }
> > @@ -73,6 +78,7 @@ public class OpenStringBuilder implement
> >      buf[index] = ch;
> >    }
> >
> > +  @Override
> >    public CharSequence subSequence(int start, int end) {
> >      throw new UnsupportedOperationException(); // todo
> >    }
> > @@ -139,6 +145,7 @@ public class OpenStringBuilder implement
> >      return newbuf;
> >    }
> >
> > +  @Override
> >    public String toString() {
> >      return new String(buf, 0, size());
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/wikipedia/WikipediaTokenizerFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerFactory.ja
> > va?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/wikipedia/WikipediaTokenizerFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/an
> > alysis/wikipedia/WikipediaTokenizerFactory.java Tue Dec 11 14:31:01 2012
> > @@ -35,6 +35,7 @@ import org.apache.lucene.analysis.wikipe
> >   */
> >  public class WikipediaTokenizerFactory extends TokenizerFactory {
> >    // TODO: add support for WikipediaTokenizer's advanced options.
> > +  @Override
> >    public Tokenizer create(Reader input) {
> >      return new WikipediaTokenizer(input);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ArmenianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/ArmenianStemmer.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ArmenianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ArmenianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -425,6 +425,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -502,10 +503,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof ArmenianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return ArmenianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/BasqueStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/BasqueStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/BasqueStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/BasqueStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -863,6 +863,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -925,10 +926,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof BasqueStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return BasqueStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/CatalanStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/CatalanStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/CatalanStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/CatalanStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -977,6 +977,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1055,10 +1056,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof CatalanStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return CatalanStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DanishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/DanishStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DanishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DanishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -363,6 +363,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -426,10 +427,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof DanishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return DanishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DutchStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/DutchStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DutchStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/DutchStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -789,6 +789,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -840,10 +841,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof DutchStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return DutchStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/EnglishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/EnglishStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/EnglishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/EnglishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1147,6 +1147,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1317,10 +1318,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof EnglishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return EnglishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FinnishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/FinnishStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FinnishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FinnishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -924,6 +924,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1037,10 +1038,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof FinnishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return FinnishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FrenchStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/FrenchStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FrenchStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/FrenchStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1348,6 +1348,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1504,10 +1505,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof FrenchStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return FrenchStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/German2Stemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/German2Stemmer.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/German2Stemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/German2Stemmer.java Tue Dec 11 14:31:01 2012
> > @@ -678,6 +678,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -729,10 +730,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof German2Stemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return German2Stemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/GermanStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/GermanStemmer.java?rev=1420195&r1=
> > 1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/GermanStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/GermanStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -640,6 +640,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -691,10 +692,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof GermanStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return GermanStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/HungarianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/HungarianStemmer.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/HungarianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/HungarianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1043,6 +1043,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1161,10 +1162,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof HungarianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return HungarianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/IrishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/IrishStemmer.java?rev=1420195&r1=1420
> > 194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/IrishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/IrishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -510,6 +510,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -573,10 +574,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof IrishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return IrishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ItalianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/ItalianStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ItalianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/ItalianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1094,6 +1094,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1183,10 +1184,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof ItalianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return ItalianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/KpStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/KpStemmer.java?rev=1420195&r1=14201
> > 94&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/KpStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/KpStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1856,6 +1856,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -2184,10 +2185,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof KpStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return KpStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/LovinsStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/LovinsStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/LovinsStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/LovinsStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1870,6 +1870,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1911,10 +1912,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof LovinsStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return LovinsStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/NorwegianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/NorwegianStemmer.java?rev=1420195&r
> > 1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/NorwegianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/NorwegianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -309,6 +309,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -361,10 +362,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof NorwegianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return NorwegianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PorterStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/PorterStemmer.java?rev=1420195&r1=14
> > 20194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PorterStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PorterStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -610,6 +610,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -909,10 +910,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof PorterStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return PorterStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PortugueseStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/PortugueseStemmer.java?rev=1420195&r
> > 1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PortugueseStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/PortugueseStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -989,6 +989,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1119,10 +1120,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof PortugueseStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return PortugueseStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RomanianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/RomanianStemmer.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RomanianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RomanianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -927,6 +927,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1027,10 +1028,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof RomanianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return RomanianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RussianStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/RussianStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RussianStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/RussianStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -596,6 +596,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -730,10 +731,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof RussianStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return RussianStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SpanishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/SpanishStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SpanishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SpanishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -1098,6 +1098,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -1185,10 +1186,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof SpanishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return SpanishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SwedishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/SwedishStemmer.java?rev=1420195&r1=
> > 1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SwedishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/SwedishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -300,6 +300,7 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -352,10 +353,12 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof SwedishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return SwedishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/TurkishStemmer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/java/org/tartarus/snowball/ext/TurkishStemmer.java?rev=1420195&r1=1
> > 420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/TurkishStemmer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/java/org/tartarus/snowball/
> > ext/TurkishStemmer.java Tue Dec 11 14:31:01 2012
> > @@ -3086,6 +3086,7 @@ private static final long serialVersionU
> >                      cursor = limit_backward;                    return true;
> >                  }
> >
> > +                @Override
> >                  public boolean stem() {
> >              int v_1;
> >              int v_2;
> > @@ -3133,10 +3134,12 @@ private static final long serialVersionU
> >                      return true;
> >                  }
> >
> > +        @Override
> >          public boolean equals( Object o ) {
> >              return o instanceof TurkishStemmer;
> >          }
> >
> > +        @Override
> >          public int hashCode() {
> >              return TurkishStemmer.class.getName().hashCode();
> >          }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/compound/TestCompoundWordTokenFilter.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/test/org/apache/lucene/analysis/compound/TestCompoundWordTokenF
> > ilter.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/compound/TestCompoundWordTokenFilter.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/compound/TestCompoundWordTokenFilter.java Tue Dec 11 14:31:01
> > 2012
> > @@ -275,9 +275,11 @@ public class TestCompoundWordTokenFilter
> >      public void clear() {
> >        retain = false;
> >      }
> > +    @Override
> >      public boolean getRetain() {
> >        return retain;
> >      }
> > +    @Override
> >      public void setRetain(boolean retain) {
> >        this.retain = retain;
> >      }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/core/TestDuelingAnalyzers.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/test/org/apache/lucene/analysis/core/TestDuelingAnalyzers.java?rev=14
> > 20195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/core/TestDuelingAnalyzers.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/core/TestDuelingAnalyzers.java Tue Dec 11 14:31:01 2012
> > @@ -47,6 +47,7 @@ import org.apache.lucene.util.automaton.
> >  public class TestDuelingAnalyzers extends LuceneTestCase {
> >    private CharacterRunAutomaton jvmLetter;
> >
> > +  @Override
> >    public void setUp() throws Exception {
> >      super.setUp();
> >      // build an automaton matching this jvm's letter definition
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/hunspell/HunspellDictionaryTest.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/test/org/apache/lucene/analysis/hunspell/HunspellDictionaryTest.java?re
> > v=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/hunspell/HunspellDictionaryTest.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/hunspell/HunspellDictionaryTest.java Tue Dec 11 14:31:01 2012
> > @@ -38,51 +38,63 @@ public class HunspellDictionaryTest exte
> >        this.delegate = delegate;
> >      }
> >
> > +    @Override
> >      public int read() throws IOException {
> >        return delegate.read();
> >      }
> >
> > +    @Override
> >      public int hashCode() {
> >        return delegate.hashCode();
> >      }
> >
> > +    @Override
> >      public int read(byte[] b) throws IOException {
> >        return delegate.read(b);
> >      }
> >
> > +    @Override
> >      public boolean equals(Object obj) {
> >        return delegate.equals(obj);
> >      }
> >
> > +    @Override
> >      public int read(byte[] b, int off, int len) throws IOException {
> >        return delegate.read(b, off, len);
> >      }
> >
> > +    @Override
> >      public long skip(long n) throws IOException {
> >        return delegate.skip(n);
> >      }
> >
> > +    @Override
> >      public String toString() {
> >        return delegate.toString();
> >      }
> >
> > +    @Override
> >      public int available() throws IOException {
> >        return delegate.available();
> >      }
> >
> > +    @Override
> >      public void close() throws IOException {
> >        this.closed = true;
> >        delegate.close();
> >      }
> >
> > +    @Override
> >      public void mark(int readlimit) {
> >        delegate.mark(readlimit);
> >      }
> >
> > +    @Override
> >      public void reset() throws IOException {
> >        delegate.reset();
> >      }
> >
> > +    @Override
> >      public boolean markSupported() {
> >        return delegate.markSupported();
> >      }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/util/StringMockResourceLoader.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/s
> >
> rc/test/org/apache/lucene/analysis/util/StringMockResourceLoader.java?re
> > v=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/util/StringMockResourceLoader.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/common/src/test/org/apache/lucene/an
> > alysis/util/StringMockResourceLoader.java Tue Dec 11 14:31:01 2012
> > @@ -29,6 +29,7 @@ public class StringMockResourceLoader im
> >      this.text = text;
> >    }
> >
> > +  @Override
> >    public <T> T newInstance(String cname, Class<T> expectedType) {
> >      try {
> >        Class<? extends T> clazz =
> > Class.forName(cname).asSubclass(expectedType);
> > @@ -38,6 +39,7 @@ public class StringMockResourceLoader im
> >      }
> >    }
> >
> > +  @Override
> >    public InputStream openResource(String resource) throws IOException {
> >      return new ByteArrayInputStream(text.getBytes("UTF-8"));
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUFoldingFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/ICUFoldingFilterFactory.java?rev=1420195
> > &r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUFoldingFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUFoldingFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -34,6 +34,7 @@ public class ICUFoldingFilterFactory ext
> >      return new ICUFoldingFilter(input);
> >    }
> >
> > +  @Override
> >    public AbstractAnalysisFactory getMultiTermComponent() {
> >      return this;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUNormalizer2FilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/ICUNormalizer2FilterFactory.java?rev=142
> > 0195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUNormalizer2FilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUNormalizer2FilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -79,10 +79,12 @@ public class ICUNormalizer2FilterFactory
> >      }
> >    }
> >
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new ICUNormalizer2Filter(input, normalizer);
> >    }
> >
> > +  @Override
> >    public AbstractAnalysisFactory getMultiTermComponent() {
> >      return this;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilter.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/ICUTransformFilter.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilter.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilter.java Tue Dec 11 14:31:01 2012
> > @@ -124,32 +124,39 @@ public final class ICUTransformFilter ex
> >        this.length = token.length();
> >      }
> >
> > +    @Override
> >      public int char32At(int pos) {
> >        return UTF16.charAt(buffer, 0, length, pos);
> >      }
> >
> > +    @Override
> >      public char charAt(int pos) {
> >        return buffer[pos];
> >      }
> >
> > +    @Override
> >      public void copy(int start, int limit, int dest) {
> >        char text[] = new char[limit - start];
> >        getChars(start, limit, text, 0);
> >        replace(dest, dest, text, 0, limit - start);
> >      }
> >
> > +    @Override
> >      public void getChars(int srcStart, int srcLimit, char[] dst, int dstStart) {
> >        System.arraycopy(buffer, srcStart, dst, dstStart, srcLimit - srcStart);
> >      }
> >
> > +    @Override
> >      public boolean hasMetaData() {
> >        return false;
> >      }
> >
> > +    @Override
> >      public int length() {
> >        return length;
> >      }
> >
> > +    @Override
> >      public void replace(int start, int limit, String text) {
> >        final int charsLen = text.length();
> >        final int newLength = shiftForReplace(start, limit, charsLen);
> > @@ -158,6 +165,7 @@ public final class ICUTransformFilter ex
> >        token.setLength(length = newLength);
> >      }
> >
> > +    @Override
> >      public void replace(int start, int limit, char[] text, int charsStart,
> >          int charsLen) {
> >        // shift text if necessary for the replacement
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/ICUTransformFilterFactory.java?rev=1420
> > 195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/ICUTransformFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -64,6 +64,7 @@ public class ICUTransformFilterFactory e
> >      transliterator = Transliterator.getInstance(id, dir);
> >    }
> >
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new ICUTransformFilter(input, transliterator);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/segmentation/CharArrayIterator.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/segmentation/CharArrayIterator.java?rev
> > =1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/segmentation/CharArrayIterator.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/segmentation/CharArrayIterator.java Tue Dec 11 14:31:01 2012
> > @@ -57,32 +57,39 @@ final class CharArrayIterator implements
> >      this.limit = start + length;
> >    }
> >
> > +  @Override
> >    public char current() {
> >      return (index == limit) ? DONE : array[index];
> >    }
> >
> > +  @Override
> >    public char first() {
> >      index = start;
> >      return current();
> >    }
> >
> > +  @Override
> >    public int getBeginIndex() {
> >      return 0;
> >    }
> >
> > +  @Override
> >    public int getEndIndex() {
> >      return length;
> >    }
> >
> > +  @Override
> >    public int getIndex() {
> >      return index - start;
> >    }
> >
> > +  @Override
> >    public char last() {
> >      index = (limit == start) ? limit : limit - 1;
> >      return current();
> >    }
> >
> > +  @Override
> >    public char next() {
> >      if (++index >= limit) {
> >        index = limit;
> > @@ -92,6 +99,7 @@ final class CharArrayIterator implements
> >      }
> >    }
> >
> > +  @Override
> >    public char previous() {
> >      if (--index < start) {
> >        index = start;
> > @@ -101,6 +109,7 @@ final class CharArrayIterator implements
> >      }
> >    }
> >
> > +  @Override
> >    public char setIndex(int position) {
> >      if (position < getBeginIndex() || position > getEndIndex())
> >        throw new IllegalArgumentException("Illegal Position: " + position);
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/tokenattributes/ScriptAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/jav
> >
> a/org/apache/lucene/analysis/icu/tokenattributes/ScriptAttributeImpl.java?
> > rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/tokenattributes/ScriptAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/analysis/
> > icu/tokenattributes/ScriptAttributeImpl.java Tue Dec 11 14:31:01 2012
> > @@ -33,18 +33,22 @@ public class ScriptAttributeImpl extends
> >    /** Initializes this attribute with <code>UScript.COMMON</code> */
> >    public ScriptAttributeImpl() {}
> >
> > +  @Override
> >    public int getCode() {
> >      return code;
> >    }
> >
> > +  @Override
> >    public void setCode(int code) {
> >      this.code = code;
> >    }
> >
> > +  @Override
> >    public String getName() {
> >      return UScript.getName(code);
> >    }
> >
> > +  @Override
> >    public String getShortName() {
> >      return UScript.getShortName(code);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseKatakanaStemFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/JapaneseKatakanaStemFilterFactory
> > .java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseKatakanaStemFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseKatakanaStemFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -48,6 +48,7 @@ public class JapaneseKatakanaStemFilterF
> >      }
> >    }
> >
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new JapaneseKatakanaStemFilter(input, minimumLength);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapanesePartOfSpeechStopFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/JapanesePartOfSpeechStopFilterFac
> > tory.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapanesePartOfSpeechStopFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapanesePartOfSpeechStopFilterFactory.java Tue Dec 11 14:31:01
> > 2012
> > @@ -42,6 +42,7 @@ public class JapanesePartOfSpeechStopFil
> >    private boolean enablePositionIncrements;
> >    private Set<String> stopTags;
> >
> > +  @Override
> >    public void inform(ResourceLoader loader) throws IOException {
> >      String stopTagFiles = args.get("tags");
> >      enablePositionIncrements = getBoolean("enablePositionIncrements",
> > false);
> > @@ -56,6 +57,7 @@ public class JapanesePartOfSpeechStopFil
> >      }
> >    }
> >
> > +  @Override
> >    public TokenStream create(TokenStream stream) {
> >      // if stoptags is null, it means the file is empty
> >      return stopTags == null ? stream : new
> > JapanesePartOfSpeechStopFilter(enablePositionIncrements, stream,
> > stopTags);
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseReadingFormFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/JapaneseReadingFormFilterFactory.j
> > ava?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseReadingFormFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/JapaneseReadingFormFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -45,6 +45,7 @@ public class JapaneseReadingFormFilterFa
> >      useRomaji = getBoolean(ROMAJI_PARAM, false);
> >    }
> >
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new JapaneseReadingFormFilter(input, useRomaji);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/BaseFormAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/tokenattributes/BaseFormAttributeI
> > mpl.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/BaseFormAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/BaseFormAttributeImpl.java Tue Dec 11 14:31:01
> > 2012
> > @@ -27,10 +27,12 @@ import org.apache.lucene.util.AttributeR
> >  public class BaseFormAttributeImpl extends AttributeImpl implements
> > BaseFormAttribute, Cloneable {
> >    private Token token;
> >
> > +  @Override
> >    public String getBaseForm() {
> >      return token == null ? null : token.getBaseForm();
> >    }
> >
> > +  @Override
> >    public void setToken(Token token) {
> >      this.token = token;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/InflectionAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/tokenattributes/InflectionAttributeI
> > mpl.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/InflectionAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/InflectionAttributeImpl.java Tue Dec 11 14:31:01
> > 2012
> > @@ -28,14 +28,17 @@ import org.apache.lucene.util.AttributeR
> >  public class InflectionAttributeImpl extends AttributeImpl implements
> > InflectionAttribute, Cloneable {
> >    private Token token;
> >
> > +  @Override
> >    public String getInflectionType() {
> >      return token == null ? null : token.getInflectionType();
> >    }
> >
> > +  @Override
> >    public String getInflectionForm() {
> >      return token == null ? null : token.getInflectionForm();
> >    }
> >
> > +  @Override
> >    public void setToken(Token token) {
> >      this.token = token;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/PartOfSpeechAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/tokenattributes/PartOfSpeechAttrib
> > uteImpl.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/PartOfSpeechAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/PartOfSpeechAttributeImpl.java Tue Dec 11
> > 14:31:01 2012
> > @@ -28,10 +28,12 @@ import org.apache.lucene.util.AttributeR
> >  public class PartOfSpeechAttributeImpl extends AttributeImpl implements
> > PartOfSpeechAttribute, Cloneable {
> >    private Token token;
> >
> > +  @Override
> >    public String getPartOfSpeech() {
> >      return token == null ? null : token.getPartOfSpeech();
> >    }
> >
> > +  @Override
> >    public void setToken(Token token) {
> >      this.token = token;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/ReadingAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/java/org/apache/lucene/analysis/ja/tokenattributes/ReadingAttributeIm
> > pl.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/ReadingAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/java/org/apache/lucene/an
> > alysis/ja/tokenattributes/ReadingAttributeImpl.java Tue Dec 11 14:31:01
> > 2012
> > @@ -28,14 +28,17 @@ import org.apache.lucene.util.AttributeR
> >  public class ReadingAttributeImpl extends AttributeImpl implements
> > ReadingAttribute, Cloneable {
> >    private Token token;
> >
> > +  @Override
> >    public String getReading() {
> >      return token == null ? null : token.getReading();
> >    }
> >
> > +  @Override
> >    public String getPronunciation() {
> >      return token == null ? null : token.getPronunciation();
> >    }
> >
> > +  @Override
> >    public void setToken(Token token) {
> >      this.token = token;
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/test/org/apache/lucene/an
> > alysis/ja/StringMockResourceLoader.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/kuromoji/
> >
> src/test/org/apache/lucene/analysis/ja/StringMockResourceLoader.java?rev
> > =1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/test/org/apache/lucene/an
> > alysis/ja/StringMockResourceLoader.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/kuromoji/src/test/org/apache/lucene/an
> > alysis/ja/StringMockResourceLoader.java Tue Dec 11 14:31:01 2012
> > @@ -33,6 +33,7 @@ class StringMockResourceLoader implement
> >      this.text = text;
> >    }
> >
> > +  @Override
> >    public <T> T newInstance(String cname, Class<T> expectedType) {
> >      try {
> >        Class<? extends T> clazz =
> > Class.forName(cname).asSubclass(expectedType);
> > @@ -42,6 +43,7 @@ class StringMockResourceLoader implement
> >      }
> >    }
> >
> > +  @Override
> >    public InputStream openResource(String resource) throws IOException {
> >      return new ByteArrayInputStream(text.getBytes("UTF-8"));
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/morfologik/src/java/org/apache/lucene/
> > analysis/morfologik/MorphosyntacticTagsAttributeImpl.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/morfologik
> >
> /src/java/org/apache/lucene/analysis/morfologik/MorphosyntacticTagsAttri
> > buteImpl.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/morfologik/src/java/org/apache/lucene/
> > analysis/morfologik/MorphosyntacticTagsAttributeImpl.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/morfologik/src/java/org/apache/lucene/
> > analysis/morfologik/MorphosyntacticTagsAttributeImpl.java Tue Dec 11
> > 14:31:01 2012
> > @@ -47,10 +47,12 @@ public class MorphosyntacticTagsAttribut
> >      return tags;
> >    }
> >
> > +  @Override
> >    public void clear() {
> >      tags = null;
> >    }
> >
> > +  @Override
> >    public boolean equals(Object other) {
> >      if (other instanceof MorphosyntacticTagsAttribute) {
> >        return equal(this.getTags(), ((MorphosyntacticTagsAttribute)
> > other).getTags());
> > @@ -62,6 +64,7 @@ public class MorphosyntacticTagsAttribut
> >      return l1 == null ? (l2 == null) : (l1.equals(l2));
> >    }
> >
> > +  @Override
> >    public int hashCode() {
> >      return this.tags == null ? 0 : tags.hashCode();
> >    }
> > @@ -75,6 +78,7 @@ public class MorphosyntacticTagsAttribut
> >      this.tags = tags;
> >    }
> >
> > +  @Override
> >    public void copyTo(AttributeImpl target) {
> >      List<StringBuilder> cloned = null;
> >      if (tags != null) {
> > @@ -86,6 +90,7 @@ public class MorphosyntacticTagsAttribut
> >      ((MorphosyntacticTagsAttribute) target).setTags(cloned);
> >    }
> >
> > +  @Override
> >    public MorphosyntacticTagsAttributeImpl clone() {
> >      MorphosyntacticTagsAttributeImpl cloned = new
> > MorphosyntacticTagsAttributeImpl();
> >      this.copyTo(cloned);
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/BeiderMorseFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/phonetic/s
> >
> rc/java/org/apache/lucene/analysis/phonetic/BeiderMorseFilterFactory.java
> > ?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/BeiderMorseFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/BeiderMorseFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -51,6 +51,7 @@ public class BeiderMorseFilterFactory ex
> >    /** Sole constructor. See {@link AbstractAnalysisFactory} for initialization
> > lifecycle. */
> >    public BeiderMorseFilterFactory() {}
> >
> > +  @Override
> >    public void init(Map<String,String> args) {
> >      super.init(args);
> >
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/DoubleMetaphoneFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/phonetic/s
> >
> rc/java/org/apache/lucene/analysis/phonetic/DoubleMetaphoneFilterFactor
> > y.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/DoubleMetaphoneFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/DoubleMetaphoneFilterFactory.java Tue Dec 11 14:31:01
> > 2012
> > @@ -61,6 +61,7 @@ public class DoubleMetaphoneFilterFactor
> >      }
> >    }
> >
> > +  @Override
> >    public DoubleMetaphoneFilter create(TokenStream input) {
> >      return new DoubleMetaphoneFilter(input, maxCodeLength, inject);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/PhoneticFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/phonetic/s
> >
> rc/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java?rev
> > =1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/PhoneticFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/phonetic/src/java/org/apache/lucene/an
> > alysis/phonetic/PhoneticFilterFactory.java Tue Dec 11 14:31:01 2012
> > @@ -148,6 +148,7 @@ public class PhoneticFilterFactory exten
> >      }
> >    }
> >
> > +  @Override
> >    public PhoneticFilter create(TokenStream input) {
> >      return new PhoneticFilter(input, getEncoder(), inject);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseSentenceTokenizerFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/smartcn/sr
> >
> c/java/org/apache/lucene/analysis/cn/smart/SmartChineseSentenceTokeniz
> > erFactory.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseSentenceTokenizerFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseSentenceTokenizerFactory.java Tue Dec 11
> > 14:31:01 2012
> > @@ -28,6 +28,7 @@ import org.apache.lucene.analysis.util.T
> >   * @lucene.experimental
> >   */
> >  public class SmartChineseSentenceTokenizerFactory extends
> > TokenizerFactory {
> > +  @Override
> >    public Tokenizer create(Reader input) {
> >      return new SentenceTokenizer(input);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseWordTokenFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/smartcn/sr
> >
> c/java/org/apache/lucene/analysis/cn/smart/SmartChineseWordTokenFilter
> > Factory.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseWordTokenFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/SmartChineseWordTokenFilterFactory.java Tue Dec 11
> > 14:31:01 2012
> > @@ -32,6 +32,7 @@ import org.apache.lucene.analysis.util.T
> >   * @lucene.experimental
> >   */
> >  public class SmartChineseWordTokenFilterFactory extends
> > TokenFilterFactory {
> > +  @Override
> >    public TokenFilter create(TokenStream input) {
> >        return new WordTokenFilter(input);
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/hhmm/PathNode.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/smartcn/sr
> >
> c/java/org/apache/lucene/analysis/cn/smart/hhmm/PathNode.java?rev=14
> > 20195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/hhmm/PathNode.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/smartcn/src/java/org/apache/lucene/ana
> > lysis/cn/smart/hhmm/PathNode.java Tue Dec 11 14:31:01 2012
> > @@ -29,6 +29,7 @@ class PathNode implements Comparable<Pat
> >
> >    public int preNode;
> >
> > +  @Override
> >    public int compareTo(PathNode pn) {
> >      if (weight < pn.weight)
> >        return -1;
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/stempel/src/java/org/apache/lucene/ana
> > lysis/stempel/StempelPolishStemFilterFactory.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/stempel/s
> >
> rc/java/org/apache/lucene/analysis/stempel/StempelPolishStemFilterFactor
> > y.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/stempel/src/java/org/apache/lucene/ana
> > lysis/stempel/StempelPolishStemFilterFactory.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/stempel/src/java/org/apache/lucene/ana
> > lysis/stempel/StempelPolishStemFilterFactory.java Tue Dec 11 14:31:01
> 2012
> > @@ -32,6 +32,7 @@ public class StempelPolishStemFilterFact
> >    /** Sole constructor. See {@link AbstractAnalysisFactory} for initialization
> > lifecycle. */
> >    public StempelPolishStemFilterFactory() {}
> >
> > +  @Override
> >    public TokenStream create(TokenStream input) {
> >      return new StempelFilter(input, new
> > StempelStemmer(PolishAnalyzer.getDefaultTable()));
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMAAnnotationsTokenizer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/uima/src/j
> >
> ava/org/apache/lucene/analysis/uima/UIMAAnnotationsTokenizer.java?rev
> > =1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMAAnnotationsTokenizer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMAAnnotationsTokenizer.java Tue Dec 11 14:31:01 2012
> > @@ -47,6 +47,7 @@ public final class UIMAAnnotationsTokeni
> >      this.offsetAttr = addAttribute(OffsetAttribute.class);
> >    }
> >
> > +  @Override
> >    protected void initializeIterator() throws IOException {
> >      try {
> >        analyzeInput();
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnnotationsTokenizer.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/uima/src/j
> >
> ava/org/apache/lucene/analysis/uima/UIMATypeAwareAnnotationsTokeniz
> > er.java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnnotationsTokenizer.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/uima/src/java/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnnotationsTokenizer.java Tue Dec 11 14:31:01
> > 2012
> > @@ -59,6 +59,7 @@ public final class UIMATypeAwareAnnotati
> >      this.typeAttributeFeaturePath = typeAttributeFeaturePath;
> >    }
> >
> > +  @Override
> >    protected void initializeIterator() throws IOException {
> >      try {
> >        analyzeInput();
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMABaseAnalyzerTest.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/uima/src/t
> >
> est/org/apache/lucene/analysis/uima/UIMABaseAnalyzerTest.java?rev=142
> > 0195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMABaseAnalyzerTest.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMABaseAnalyzerTest.java Tue Dec 11 14:31:01 2012
> > @@ -44,12 +44,14 @@ public class UIMABaseAnalyzerTest extend
> >
> >    private UIMABaseAnalyzer analyzer;
> >
> > +  @Override
> >    @Before
> >    public void setUp() throws Exception {
> >      super.setUp();
> >      analyzer = new UIMABaseAnalyzer("/uima/AggregateSentenceAE.xml",
> > "org.apache.uima.TokenAnnotation");
> >    }
> >
> > +  @Override
> >    @After
> >    public void tearDown() throws Exception {
> >      analyzer.close();
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnalyzerTest.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/uima/src/t
> >
> est/org/apache/lucene/analysis/uima/UIMATypeAwareAnalyzerTest.java?r
> > ev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnalyzerTest.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/analysis/uima/src/test/org/apache/lucene/analysi
> > s/uima/UIMATypeAwareAnalyzerTest.java Tue Dec 11 14:31:01 2012
> > @@ -32,6 +32,7 @@ public class UIMATypeAwareAnalyzerTest e
> >
> >    private UIMATypeAwareAnalyzer analyzer;
> >
> > +  @Override
> >    @Before
> >    public void setUp() throws Exception {
> >      super.setUp();
> > @@ -39,6 +40,7 @@ public class UIMATypeAwareAnalyzerTest e
> >          "org.apache.uima.TokenAnnotation", "posTag");
> >    }
> >
> > +  @Override
> >    @After
> >    public void tearDown() throws Exception {
> >      analyzer.close();
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/AbstractQueryMaker.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/AbstractQueryMaker.java?r
> > ev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/AbstractQueryMaker.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/AbstractQueryMaker.java Tue Dec 11 14:31:01 2012
> > @@ -28,17 +28,20 @@ public abstract class AbstractQueryMaker
> >    protected Query[] queries;
> >    protected Config config;
> >
> > +  @Override
> >    public void resetInputs() {
> >      qnum = 0;
> >    }
> >
> >    protected abstract Query[] prepareQueries() throws Exception;
> >
> > +  @Override
> >    public void setConfig(Config config) throws Exception {
> >      this.config = config;
> >      queries = prepareQueries();
> >    }
> >
> > +  @Override
> >    public String printQueries() {
> >      String newline = System.getProperty("line.separator");
> >      StringBuilder sb = new StringBuilder();
> > @@ -51,6 +54,7 @@ public abstract class AbstractQueryMaker
> >      return sb.toString();
> >    }
> >
> > +  @Override
> >    public Query makeQuery() throws Exception {
> >      return queries[nextQnum()];
> >    }
> > @@ -66,6 +70,7 @@ public abstract class AbstractQueryMaker
> >    *  (non-Javadoc)
> >    * @see
> > org.apache.lucene.benchmark.byTask.feeds.QueryMaker#makeQuery(int)
> >    */
> > +  @Override
> >    public Query makeQuery(int size) throws Exception {
> >      throw new Exception(this+".makeQuery(int size) is not supported!");
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/ContentItemsSource.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/ContentItemsSource.java?r
> > ev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/ContentItemsSource.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/ContentItemsSource.java Tue Dec 11 14:31:01 2012
> > @@ -107,6 +107,7 @@ public abstract class ContentItemsSource
> >    }
> >
> >    /** Called when reading from this content source is no longer required.
> */
> > +  @Override
> >    public abstract void close() throws IOException;
> >
> >    /** Returns the number of bytes generated since last reset. */
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/DirContentSource.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/DirContentSource.java?rev
> > =1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/DirContentSource.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/DirContentSource.java Tue Dec 11 14:31:01 2012
> > @@ -57,6 +57,7 @@ public class DirContentSource extends Co
> >    public static class Iterator implements java.util.Iterator<File> {
> >
> >      static class Comparator implements java.util.Comparator<File> {
> > +      @Override
> >        public int compare(File _a, File _b) {
> >          String a = _a.toString();
> >          String b = _b.toString();
> > @@ -106,12 +107,14 @@ public class DirContentSource extends Co
> >      void push(File f) {
> >        push(f.listFiles(new FileFilter() {
> >
> > +        @Override
> >          public boolean accept(File file) {
> >            return file.isDirectory();
> >          }
> >        }));
> >        push(f.listFiles(new FileFilter() {
> >
> > +        @Override
> >          public boolean accept(File file) {
> >            return file.getName().endsWith(".txt");
> >          }
> > @@ -131,10 +134,12 @@ public class DirContentSource extends Co
> >        return count;
> >      }
> >
> > +    @Override
> >      public boolean hasNext() {
> >        return stack.size() > 0;
> >      }
> >
> > +    @Override
> >      public File next() {
> >        assert hasNext();
> >        count++;
> > @@ -144,6 +149,7 @@ public class DirContentSource extends Co
> >        return object;
> >      }
> >
> > +    @Override
> >      public void remove() {
> >        throw new RuntimeException("cannot");
> >      }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/EnwikiContentSource.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/EnwikiContentSource.java?
> > rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/EnwikiContentSource.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/EnwikiContentSource.java Tue Dec 11 14:31:01 2012
> > @@ -170,6 +170,7 @@ public class EnwikiContentSource extends
> >        }
> >      }
> >
> > +    @Override
> >      public void run() {
> >
> >        try {
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LineDocSource.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/LineDocSource.java?rev=14
> > 20195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LineDocSource.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LineDocSource.java Tue Dec 11 14:31:01 2012
> > @@ -72,6 +72,7 @@ public class LineDocSource extends Conte
> >      public SimpleLineParser(String[] header) {
> >        super(header);
> >      }
> > +    @Override
> >      public void parseLine(DocData docData, String line) {
> >        int k1 = 0;
> >        int k2 = line.indexOf(WriteLineDocTask.SEP, k1);
> > @@ -122,6 +123,7 @@ public class LineDocSource extends Conte
> >        }
> >      }
> >
> > +    @Override
> >      public void parseLine(DocData docData, String line) {
> >        int n = 0;
> >        int k1 = 0;
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LongToEnglishQueryMaker.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/byTask/feeds/LongToEnglishQueryMaker.
> > java?rev=1420195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LongToEnglishQueryMaker.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/byTask/feeds/LongToEnglishQueryMaker.java Tue Dec 11 14:31:01
> 2012
> > @@ -40,10 +40,12 @@ public class LongToEnglishQueryMaker imp
> >    private final RuleBasedNumberFormat rnbf = new
> > RuleBasedNumberFormat(Locale.ROOT,
> >                                                                         RuleBasedNumberFormat.SPELLOUT);
> >
> > +  @Override
> >    public Query makeQuery(int size) throws Exception {
> >      throw new UnsupportedOperationException();
> >    }
> >
> > +  @Override
> >    public synchronized Query makeQuery() throws Exception {
> >      return parser.parse("" + rnbf.format(getNextCounter()) + "");
> >    }
> > @@ -55,15 +57,18 @@ public class LongToEnglishQueryMaker imp
> >      return counter++;
> >    }
> >
> > +  @Override
> >    public void setConfig(Config config) throws Exception {
> >      Analyzer anlzr = NewAnalyzerTask.createAnalyzer(config.get("analyzer",
> > StandardAnalyzer.class.getName()));
> >      parser = new QueryParser(Version.LUCENE_CURRENT,
> > DocMaker.BODY_FIELD, anlzr);
> >    }
> >
> > +  @Override
> >    public void resetInputs() {
> >      counter = Long.MIN_VALUE + 10;
> >    }
> >
> > +  @Override
> >    public String printQueries() {
> >      return "LongToEnglish: [" + Long.MIN_VALUE + " TO " + counter + "]";
> >    }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/QualityQuery.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/quality/QualityQuery.java?rev=1420195&r
> > 1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/QualityQuery.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/QualityQuery.java Tue Dec 11 14:31:01 2012
> > @@ -71,6 +71,7 @@ public class QualityQuery implements Com
> >
> >    /* for a nicer sort of input queries before running them.
> >     * Try first as ints, fall back to string if not int. */
> > +  @Override
> >    public int compareTo(QualityQuery other) {
> >      try {
> >        // compare as ints when ids ints
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/trec/TrecJudge.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/quality/trec/TrecJudge.java?rev=1420195
> > &r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/trec/TrecJudge.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/trec/TrecJudge.java Tue Dec 11 14:31:01 2012
> > @@ -83,6 +83,7 @@ public class TrecJudge implements Judge
> >    }
> >
> >    // inherit javadocs
> > +  @Override
> >    public boolean isRelevant(String docName, QualityQuery query) {
> >      QRelJudgement qrj = judgements.get(query.getQueryID());
> >      return qrj!=null && qrj.isRelevant(docName);
> > @@ -112,6 +113,7 @@ public class TrecJudge implements Judge
> >    }
> >
> >    // inherit javadocs
> > +  @Override
> >    public boolean validateData(QualityQuery[] qq, PrintWriter logger) {
> >      HashMap<String,QRelJudgement> missingQueries = new
> > HashMap<String, QRelJudgement>(judgements);
> >      ArrayList<String> missingJudgements = new ArrayList<String>();
> > @@ -146,6 +148,7 @@ public class TrecJudge implements Judge
> >    }
> >
> >    // inherit javadocs
> > +  @Override
> >    public int maxRecall(QualityQuery query) {
> >      QRelJudgement qrj = judgements.get(query.getQueryID());
> >      if (qrj!=null) {
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/utils/SimpleQQParser.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/quality/utils/SimpleQQParser.java?rev=14
> > 20195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/utils/SimpleQQParser.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/quality/utils/SimpleQQParser.java Tue Dec 11 14:31:01 2012
> > @@ -59,6 +59,7 @@ public class SimpleQQParser implements Q
> >    /* (non-Javadoc)
> >     * @see
> >
> org.apache.lucene.benchmark.quality.QualityQueryParser#parse(org.apache
> > .lucene.benchmark.quality.QualityQuery)
> >     */
> > +  @Override
> >    public Query parse(QualityQuery qq) throws ParseException {
> >      QueryParser qp = queryParser.get();
> >      if (qp==null) {
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/utils/ExtractReuters.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/jav
> >
> a/org/apache/lucene/benchmark/utils/ExtractReuters.java?rev=1420195&r1
> > =1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/utils/ExtractReuters.java (original)
> > +++
> >
> lucene/dev/trunk/lucene/benchmark/src/java/org/apache/lucene/benchm
> > ark/utils/ExtractReuters.java Tue Dec 11 14:31:01 2012
> > @@ -51,6 +51,7 @@ public class ExtractReuters {
> >
> >    public void extract() {
> >      File[] sgmFiles = reutersDir.listFiles(new FileFilter() {
> > +      @Override
> >        public boolean accept(File file) {
> >          return file.getName().endsWith(".sgm");
> >        }
> >
> > Modified:
> >
> lucene/dev/trunk/lucene/benchmark/src/test/org/apache/lucene/benchma
> > rk/byTask/TestPerfTasksParse.java
> > URL:
> >
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/benchmark/src/tes
> >
> t/org/apache/lucene/benchmark/byTask/TestPerfTasksParse.java?rev=1420
> > 195&r1=1420194&r2=1420195&view=diff
> >
> ==========================================================
> > ====================
> > ---
> >
> lucene/dev/trunk/lucene/benchmark/src/test/org/apache/lucene/benchma
> > rk/byTask/TestPerfTasksParse.java (orig

...

[Message clipped]  

 


Mime
View raw message