commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1540226 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
Date Sat, 09 Nov 2013 00:07:56 GMT
Author: sebb
Date: Sat Nov  9 00:07:56 2013
New Revision: 1540226

URL: http://svn.apache.org/r1540226
Log:
Tab police

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java?rev=1540226&r1=1540225&r2=1540226&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
Sat Nov  9 00:07:56 2013
@@ -87,7 +87,7 @@ public class PhoneticEngine {
          */
         public void append(final CharSequence str) {
             for (final Rule.Phoneme ph : this.phonemes) {
-            	ph.append(str);
+                ph.append(str);
             }
         }
 
@@ -204,15 +204,15 @@ public class PhoneticEngine {
             int patternLength = 1;
             final List<Rule> rules = this.finalRules.get(input.subSequence(i, i+patternLength));
             if (rules != null) {
-            	for (final Rule rule : rules) {
-	            	final String pattern = rule.getPattern();
-	                patternLength = pattern.length();
-	            	if (rule.patternAndContextMatches(this.input, this.i)) {
-		                this.phonemeBuilder = this.phonemeBuilder.apply(rule.getPhoneme(), maxPhonemes);
-		                this.found = true;
-		                break;
-	            	}
-            	}
+                for (final Rule rule : rules) {
+                    final String pattern = rule.getPattern();
+                    patternLength = pattern.length();
+                    if (rule.patternAndContextMatches(this.input, this.i)) {
+                        this.phonemeBuilder = this.phonemeBuilder.apply(rule.getPhoneme(),
maxPhonemes);
+                        this.found = true;
+                        break;
+                    }
+                }
             }
 
             if (!this.found) {



Mime
View raw message