commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1378743 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language: ColognePhonetic.java Metaphone.java
Date Wed, 29 Aug 2012 21:23:52 GMT
Author: tn
Date: Wed Aug 29 21:23:51 2012
New Revision: 1378743

URL: http://svn.apache.org/viewvc?rev=1378743&view=rev
Log:
Checkstyle fixes.

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

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java?rev=1378743&r1=1378742&r2=1378743&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/ColognePhonetic.java
Wed Aug 29 21:23:51 2012
@@ -25,14 +25,12 @@ import org.apache.commons.codec.StringEn
 /**
  * Encodes a string into a Cologne Phonetic value.
  * <p>
- * 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>
- *
+ * 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>
+ * 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>
- * 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>
  *
  * <h2>Algorithm</h2>
  *

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Metaphone.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Metaphone.java?rev=1378743&r1=1378742&r2=1378743&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Metaphone.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/language/Metaphone.java
Wed Aug 29 21:23:51 2012
@@ -25,18 +25,15 @@ import org.apache.commons.codec.StringEn
  * <p>
  * Initial Java implementation by <CITE>William B. Brogden. December, 1997</CITE>.
  * Permission given by <CITE>wbrogden</CITE> for code to be used anywhere.
- * </p>
  * <p>
- * <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE>
in <CITE>Computer Language of Dec. 1990, p
- * 39.</CITE>
- * </p>
+ * <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE>
in <CITE>Computer Language of Dec. 1990,
+ * p 39.</CITE>
  * <p>
- * Note, that this does not match the algorithm that ships with PHP, or the algorithm
- * found in the Perl <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
+ * Note, that this does not match the algorithm that ships with PHP, or the algorithm found
in the Perl
+ * <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
  * They have had undocumented changes from the originally published algorithm.
  * For more information, see <a href="https://issues.apache.org/jira/browse/CODEC-57">CODEC-57</a>.
- * </p>
- *
+ * <p>
  * This class is conditionally thread-safe.
  * The instance field {@link #maxCodeLen} is mutable {@link #setMaxCodeLen(int)}
  * but is not volatile, and accesses are not synchronised.



Mime
View raw message