commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1157545 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Sun, 14 Aug 2011 15:23:41 GMT
Author: ggregory
Date: Sun Aug 14 15:23:41 2011
New Revision: 1157545

URL: http://svn.apache.org/viewvc?rev=1157545&view=rev
Log:
[CODEC-127] Non-ascii characters in source files

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=1157545&r1=1157544&r2=1157545&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
Sun Aug 14 15:23:41 2011
@@ -262,10 +262,11 @@ public class ColognePhonetic implements 
         }
     }
 
-    private static final char[][] PREPROCESS_MAP = new char[][]{{'\u00C4', 'A'}, // Ä
-        {'\u00DC', 'U'}, // Ü
-        {'\u00D6', 'O'}, // Ö
-        {'\u00DF', 'S'} // ß
+    private static final char[][] PREPROCESS_MAP = new char[][]{
+        {'\u00C4', 'A'}, // capital a, umlaut mark
+        {'\u00DC', 'U'}, // capital u, umlaut mark
+        {'\u00D6', 'O'}, // capital o, umlaut mark
+        {'\u00DF', 'S'} // small sharp s, German
     };
 
     /*



Mime
View raw message