Fix indentation mistake.

This commit is contained in:
webdevuser 2011-05-19 20:31:46 +02:00 committed by kimchy
parent 18dd9a5f18
commit 8b1765f5b8
1 changed files with 6 additions and 6 deletions

View File

@ -39,14 +39,14 @@ public class ElisionTokenFilterFactory extends AbstractTokenFilterFactory {
@Inject public ElisionTokenFilterFactory(Index index, @IndexSettings Settings indexSettings, Environment env, @Assisted String name, @Assisted Settings settings) {
super(index, indexSettings, name, settings);
this.articles = Analysis.parseArticles(env, settings);
this.articles = Analysis.parseArticles(env, settings);
}
@Override public TokenStream create(TokenStream tokenStream) {
if (articles == null) {
return new ElisionFilter(version, tokenStream);
} else {
return new ElisionFilter(version, tokenStream, articles);
}
if (articles == null) {
return new ElisionFilter(version, tokenStream);
} else {
return new ElisionFilter(version, tokenStream, articles);
}
}
}