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");
 


Reply via email to