commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1073223 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Tue, 22 Feb 2011 04:31:12 GMT
Author: ggregory
Date: Tue Feb 22 04:31:11 2011
New Revision: 1073223

URL: http://svn.apache.org/viewvc?rev=1073223&view=rev
Log:
Order array elements.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java?rev=1073223&r1=1073222&r2=1073223&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Tue Feb 22 04:31:11 2011
@@ -341,7 +341,7 @@ public class ColognePhonetic implements 
                 code = '8';
             } else if (chr == 'C') {
                 if (lastCode == '/') {
-                    if (arrayContains(new char[] { 'A', 'H', 'L', 'O', 'R', 'U', 'K', 'X',
'Q' }, nextChar)) {
+                    if (arrayContains(new char[] { 'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U',
'X' }, nextChar)) {
                         code = '4';
                     } else {
                         code = '8';



Mime
View raw message