LUCENE-6875: Fix svn eol-style and space instead of tab, to pass precommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713740 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jan Høydahl 2015-11-10 22:33:22 +00:00
parent 0124adb5c1
commit 3bf072cd21
1 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ public class SerbianNormalizationFilterFactory extends TokenFilterFactory implem
public SerbianNormalizationFilterFactory(Map<String,String> args) {
super(args);
this.haircut = get(args, "haircut", Arrays.asList( "bald", "regular" ), "bald");
this.haircut = get(args, "haircut", Arrays.asList( "bald", "regular" ), "bald");
if (!args.isEmpty()) {
throw new IllegalArgumentException("Unknown parameters: " + args);
}
@ -52,11 +52,11 @@ public class SerbianNormalizationFilterFactory extends TokenFilterFactory implem
@Override
public TokenStream create(TokenStream input) {
if( this.haircut.equals( "regular" ) ) {
return new SerbianNormalizationRegularFilter(input);
} else {
return new SerbianNormalizationFilter(input);
}
if( this.haircut.equals( "regular" ) ) {
return new SerbianNormalizationRegularFilter(input);
} else {
return new SerbianNormalizationFilter(input);
}
}
@Override