Skip to content

Commit 8ecd358

Browse files
committed
Always use blocks.
1 parent a7824cd commit 8ecd358

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/org/apache/commons/codec/language/ColognePhonetic.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public String colognePhonetic(final String text) {
368368
}
369369
} else if (arrayContains(DTX, chr)) {
370370
output.put('8');
371-
} else
371+
} else {
372372
switch (chr) {
373373
case 'R':
374374
output.put('7');
@@ -386,6 +386,7 @@ public String colognePhonetic(final String text) {
386386
default:
387387
break;
388388
}
389+
}
389390

390391
lastChar = chr;
391392
}

0 commit comments

Comments
 (0)