Skip to content

Commit c1f8d1f

Browse files
committed
Order array elements.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1073223 13f79535-47bb-0310-9956-ffa450edef68
1 parent 49e0d8b commit c1f8d1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public String colognePhonetic(String text) {
341341
code = '8';
342342
} else if (chr == 'C') {
343343
if (lastCode == '/') {
344-
if (arrayContains(new char[] { 'A', 'H', 'L', 'O', 'R', 'U', 'K', 'X', 'Q' }, nextChar)) {
344+
if (arrayContains(new char[] { 'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X' }, nextChar)) {
345345
code = '4';
346346
} else {
347347
code = '8';

0 commit comments

Comments
 (0)