rename method to conform with other custom analysis methods

This commit is contained in:
Shay Banon 2012-04-09 21:02:58 +03:00
parent cec46d552d
commit dd60187735
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class AnalysisModule extends AbstractModule {
return this;
}
public AnalysisModule addTokenizerFactory(String name, Class<? extends TokenizerFactory> tokenizer) {
public AnalysisModule addTokenizer(String name, Class<? extends TokenizerFactory> tokenizer) {
tokenizers.put(name, tokenizer);
return this;
}