This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push:
new 387eba9 Move Javadoc to correct location
387eba9 is described below
commit 387eba9bd25764fdaa3abb90c98e3e564f3f5a53
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 17 10:43:26 2019 +0100
Move Javadoc to correct location
---
.../apache/commons/codec/language/ColognePhonetic.java | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git
a/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
b/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
index 7622e9a..79fe335 100644
--- a/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
+++ b/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
@@ -277,16 +277,6 @@ public class ColognePhonetic implements StringEncoder {
}
}
- /**
- * Maps some Germanic characters to plain for internal processing. The
following characters are mapped:
- * <ul>
- * <li>capital a, umlaut mark</li>
- * <li>capital u, umlaut mark</li>
- * <li>capital o, umlaut mark</li>
- * <li>small sharp s, German</li>
- * </ul>
- */
-
/*
* Returns whether the array contains the key, or not.
*/
@@ -417,6 +407,13 @@ public class ColognePhonetic implements StringEncoder {
/**
* Converts the string to upper case and replaces Germanic umlaut
characters
+ * The following characters are mapped:
+ * <ul>
+ * <li>capital A, umlaut mark</li>
+ * <li>capital U, umlaut mark</li>
+ * <li>capital O, umlaut mark</li>
+ * <li>small sharp s, German</li>
+ * </ul>
*/
private char[] preprocess(String text) {
// This converts German small sharp s (Eszett) to SS