Author: ggregory
Date: Wed Jul 27 17:42:08 2011
New Revision: 1151553

URL: http://svn.apache.org/viewvc?rev=1151553&view=rev
Log:
Javadoc

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=1151553&r1=1151552&r2=1151553&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
 Wed Jul 27 17:42:08 2011
@@ -240,12 +240,18 @@ public class PhoneticEngine {
         return result;
     }
 
-    private String normalizeLanguageAttributes(String text, final boolean 
strip) {
-        // this is applied to a single alternative at a time -- not to a 
parenthisized list
-        // it removes all embedded bracketed attributes, logically-ands them 
together, and places them at the end.
-
-        // however if strip is true, this can indeed remove embedded bracketed 
attributes from a parenthesized list
-
+    /**
+     * Applied to a single alternative at a time -- not to a parenthisized 
list it removes all embedded bracketed attributes,
+     * logically-ands them together, and places them at the end.
+     * 
+     * However if strip is true, this can indeed remove embedded bracketed 
attributes from a parenthesized list
+     * 
+     * @param input
+     * @param strip
+     * @return
+     */
+    private String normalizeLanguageAttributes(final String input, final 
boolean strip) {
+        String text = input;
         Set<String> langs = new HashSet<String>();
 
         int bracketStart;


Reply via email to