commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1124223 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/language/ColognePhonetic.java
Date Wed, 18 May 2011 12:36:45 GMT
Author: ggregory
Date: Wed May 18 12:36:45 2011
New Revision: 1124223

URL: http://svn.apache.org/viewvc?rev=1124223&view=rev
Log:
[CODEC-123] ColognePhonetic Javadoc should use HTML entities for special characters.

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=1124223&r1=1124222&r2=1124223&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
Wed May 18 12:36:45 2011
@@ -27,12 +27,12 @@ import org.apache.commons.codec.StringEn
  * Encodes a string into a Cologne Phonetic value.
  * </p>
  * <p>
- * Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">“Kölner
Phonetic�</a> (Cologne Phonetic)
+ * Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">K&ouml;lner
Phonetik</a> (Cologne Phonetic)
  * algorithm issued by Hans Joachim Postel in 1969.
  * </p>
  * 
  * <p>
- * The <i>Kölner Phonetik</i> is a phonetic algorithm which is optimized
for the German language. It is related to the
+ * The <i>K&ouml;lner Phonetik</i> is a phonetic algorithm which is optimized
for the German language. It is related to the
  * well-known soundex algorithm.
  * </p>
  * 
@@ -151,12 +151,12 @@ import org.apache.commons.codec.StringEn
  * </table>
  * <p>
  * <small><i>(Source: <a href= "http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik#Buchstabencodes"
>Wikipedia (de):
- * Kölner Phonetik – Buchstabencodes</a>)</i></small>
+ * K&ouml;lner Phonetik -- Buchstabencodes</a>)</i></small>
  * </p>
  * 
  * <h4>Example:</h4>
  * 
- * {@code "Müller-Lüdenscheidt" => "MULLERLUDENSCHEIDT" => "6005507500206880022"}
+ * {@code "M}&uuml;{@code ller-L}&uuml;{@code denscheidt" => "MULLERLUDENSCHEIDT"
=> "6005507500206880022"}
  * 
  * </li>
  * 
@@ -168,7 +168,7 @@ import org.apache.commons.codec.StringEn
  * 
  * <li>
  * <h3>Step 3:</h3>
- * Removal of all codes “0� except at the beginning. This means
that two or more identical consecutive digits can occur
+ * Removal of all codes "0" except at the beginning. This means that two or more identical
consecutive digits can occur
  * if they occur after removing the "0" digits.
  * 
  * <h4>Example:</h4>
@@ -176,7 +176,7 @@ import org.apache.commons.codec.StringEn
  * 
  * </ul>
  * 
- * @see <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">Wikipedia (de):
Kölner Phonetik (in German)</a>
+ * @see <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">Wikipedia (de):
K&ouml;lner Phonetik (in German)</a>
  * @author Apache Software Foundation
  * @since 1.5
  */
@@ -282,7 +282,7 @@ public class ColognePhonetic implements 
 
     /**
      * <p>
-     * <b>colognePhonetic()</b> is the actual implementations of the <i>Kölner
Phonetik</i> algorithm.
+     * Implements the <i>K&ouml;lner Phonetik</i> algorithm.
      * </p>
      * <p>
      * In contrast to the initial description of the algorithm, this implementation does
the encoding in one pass.



Mime
View raw message