r112195 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112194‎ | r112195 | r112196 >
Date:10:33, 23 February 2012
Author:oren
Status:deferred
Tags:
Comment:
API upgrade necessitated by the deprecated next() methods
Modified paths:
  • /trunk/lucene-search-3/src/main/java/org/wikimedia/lsearch/analyzers/ReusableLanguageAnalyzer.java (modified) (history)

Diff [purge]

Index: trunk/lucene-search-3/src/main/java/org/wikimedia/lsearch/analyzers/ReusableLanguageAnalyzer.java
@@ -25,13 +25,13 @@
2626 this.options = options;
2727 }
2828
29 -
 29+ /*
3030 @Override
3131 public TokenStream tokenStream(String fieldName, Reader reader) {
3232 Thread.dumpStack();
3333 log.error("Invalid usage of QueryLanguageAnalyzer.tokenStream(String,Reader). Use tokenStream(String,String). Probably bug in the software. ");
3434 throw new RuntimeException("Use tokenStream(String,String)");
35 - }
 35+ }*/
3636
3737 @Override
3838 public String toString() {

Status & tagging log