Skip to content

Commit a8a4bc1

Browse files
committed
Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1540226 13f79535-47bb-0310-9956-ffa450edef68
1 parent b8112b0 commit a8a4bc1

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private PhonemeBuilder(final Set<Rule.Phoneme> phonemes) {
8787
*/
8888
public void append(final CharSequence str) {
8989
for (final Rule.Phoneme ph : this.phonemes) {
90-
ph.append(str);
90+
ph.append(str);
9191
}
9292
}
9393

@@ -204,15 +204,15 @@ public RulesApplication invoke() {
204204
int patternLength = 1;
205205
final List<Rule> rules = this.finalRules.get(input.subSequence(i, i+patternLength));
206206
if (rules != null) {
207-
for (final Rule rule : rules) {
208-
final String pattern = rule.getPattern();
209-
patternLength = pattern.length();
210-
if (rule.patternAndContextMatches(this.input, this.i)) {
211-
this.phonemeBuilder = this.phonemeBuilder.apply(rule.getPhoneme(), maxPhonemes);
212-
this.found = true;
213-
break;
214-
}
215-
}
207+
for (final Rule rule : rules) {
208+
final String pattern = rule.getPattern();
209+
patternLength = pattern.length();
210+
if (rule.patternAndContextMatches(this.input, this.i)) {
211+
this.phonemeBuilder = this.phonemeBuilder.apply(rule.getPhoneme(), maxPhonemes);
212+
this.found = true;
213+
break;
214+
}
215+
}
216216
}
217217

218218
if (!this.found) {

0 commit comments

Comments
 (0)