lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan...@apache.org
Subject svn commit: r1713737 - in /lucene/dev/branches/branch_5x/lucene/analysis/common/src: java/org/apache/lucene/analysis/sr/ test/org/apache/lucene/analysis/sr/
Date Tue, 10 Nov 2015 22:16:38 GMT
Author: janhoy
Date: Tue Nov 10 22:16:38 2015
New Revision: 1713737

URL: http://svn.apache.org/viewvc?rev=1713737&view=rev
Log:
LUCENE-6875: Fix svn eol-style and space instead of tab, to pass precommit

Modified:
    lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationFilterFactory.java
    lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationRegularFilter.java
  (props changed)
    lucene/dev/branches/branch_5x/lucene/analysis/common/src/test/org/apache/lucene/analysis/sr/TestSerbianNormalizationRegularFilter.java
  (props changed)

Modified: lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationFilterFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationFilterFactory.java?rev=1713737&r1=1713736&r2=1713737&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationFilterFactory.java
(original)
+++ lucene/dev/branches/branch_5x/lucene/analysis/common/src/java/org/apache/lucene/analysis/sr/SerbianNormalizationFilterFactory.java
Tue Nov 10 22:16:38 2015
@@ -44,7 +44,7 @@ public class SerbianNormalizationFilterF
   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 SerbianNormalizationFilterF
 
   @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



Mime
View raw message