Skip to content

Commit 4889e27

Browse files
committed
Add missing javadoc, removed debug print.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1376705 13f79535-47bb-0310-9956-ffa450edef68
1 parent a2dce9c commit 4889e27

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/main/java/org/apache/commons/codec/language/bm/PhoneticEngine.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ public Set<Rule.Phoneme> getPhonemes() {
137137
* @return the stringified phoneme set
138138
*/
139139
public String makeString() {
140-
141-
StringBuilder sb = new StringBuilder();
142-
// System.err.println(this.phonemes.getClass());
140+
final StringBuilder sb = new StringBuilder();
143141

144142
for (Rule.Phoneme ph : this.phonemes) {
145143
if (sb.length() > 0) {
@@ -349,9 +347,9 @@ public PhoneticEngine(NameType nameType, RuleType ruleType, boolean concat, int
349347
* Applies the final rules to convert from a language-specific phonetic representation to a
350348
* language-independent representation.
351349
*
352-
* @param phonemeBuilder
353-
* @param finalRules
354-
* @return
350+
* @param phonemeBuilder the current phonemes
351+
* @param finalRules the final rules to apply
352+
* @return the resulting phonemes
355353
*/
356354
private PhonemeBuilder applyFinalRules(PhonemeBuilder phonemeBuilder, List<Rule> finalRules) {
357355
if (finalRules == null) {

0 commit comments

Comments
 (0)