lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1343803 - in /lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2: DuplicatingStemmerFactory.java DuplicatingTokenizerFactory.java
Date Tue, 29 May 2012 16:09:57 GMT
Author: rmuir
Date: Tue May 29 16:09:56 2012
New Revision: 1343803

URL: http://svn.apache.org/viewvc?rev=1343803&view=rev
Log:
unbreak 3.6 compile on java5

Modified:
    lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingStemmerFactory.java
    lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingTokenizerFactory.java

Modified: lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingStemmerFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingStemmerFactory.java?rev=1343803&r1=1343802&r2=1343803&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingStemmerFactory.java
(original)
+++ lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingStemmerFactory.java
Tue May 29 16:09:56 2012
@@ -22,10 +22,10 @@ import org.carrot2.text.linguistic.IStem
 import org.carrot2.text.linguistic.IStemmerFactory;
 
 public class DuplicatingStemmerFactory implements IStemmerFactory {
-  @Override
+  //@Override
   public IStemmer getStemmer(LanguageCode language) {
     return new IStemmer() {
-      @Override
+      //@Override
       public CharSequence stem(CharSequence word) {
         return word.toString() + word.toString();
       }

Modified: lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingTokenizerFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingTokenizerFactory.java?rev=1343803&r1=1343802&r2=1343803&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingTokenizerFactory.java
(original)
+++ lucene/dev/branches/lucene_solr_3_6/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/DuplicatingTokenizerFactory.java
Tue May 29 16:09:56 2012
@@ -27,23 +27,23 @@ import org.carrot2.text.linguistic.IToke
 import org.carrot2.text.util.MutableCharArray;
 
 public class DuplicatingTokenizerFactory implements ITokenizerFactory {
-  @Override
+  //@Override
   public ITokenizer getTokenizer(LanguageCode language) {
     return new ITokenizer() {
       private final ExtendedWhitespaceTokenizer delegate = new ExtendedWhitespaceTokenizer();
       
-      @Override
+      //@Override
       public void setTermBuffer(MutableCharArray buffer) {
         delegate.setTermBuffer(buffer);
         buffer.reset(buffer.toString() + buffer.toString());
       }
       
-      @Override
+      //@Override
       public void reset(Reader input) throws IOException {
         delegate.reset(input);
       }
       
-      @Override
+      //@Override
       public short nextToken() throws IOException {
         return delegate.nextToken();
       }



Mime
View raw message