commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1154282 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
Date Fri, 05 Aug 2011 16:05:27 GMT
Author: ggregory
Date: Fri Aug  5 16:05:27 2011
New Revision: 1154282

URL: http://svn.apache.org/viewvc?rev=1154282&view=rev
Log:
Remove unused parameters.

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

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java?rev=1154282&r1=1154281&r2=1154282&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/bm/PhoneticEngine.java
Fri Aug  5 16:05:27 2011
@@ -219,8 +219,7 @@ public class PhoneticEngine {
         this.lang = Lang.instance(nameType);
     }
 
-    private PhonemeBuilder applyFinalRules(PhonemeBuilder phonemeBuilder, List<Rule>
finalRules, Languages.LanguageSet languageSet,
-            boolean strip) {
+    private PhonemeBuilder applyFinalRules(PhonemeBuilder phonemeBuilder, List<Rule>
finalRules) {
         if (finalRules == null) {
             throw new NullPointerException("finalRules can not be null");
         }
@@ -394,10 +393,10 @@ public class PhoneticEngine {
         }
 
         // System.err.println("Applying general rules");
-        phonemeBuilder = applyFinalRules(phonemeBuilder, finalRules1, languageSet, false);
+        phonemeBuilder = applyFinalRules(phonemeBuilder, finalRules1);
         // System.err.println("Now got: " + phonemeBuilder.makeString());
         // System.err.println("Applying language-specific rules");
-        phonemeBuilder = applyFinalRules(phonemeBuilder, finalRules2, languageSet, true);
+        phonemeBuilder = applyFinalRules(phonemeBuilder, finalRules2);
         // System.err.println("Now got: " + phonemeBuilder.makeString());
         // System.err.println("Done");
 



Mime
View raw message