Skip to content

Commit 7ab7ec5

Browse files
committed
Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1378743 13f79535-47bb-0310-9956-ffa450edef68
1 parent 36dfa19 commit 7ab7ec5

2 files changed

Lines changed: 10 additions & 15 deletions

File tree

src/main/java/org/apache/commons/codec/language/ColognePhonetic.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@
2525
/**
2626
* Encodes a string into a Cologne Phonetic value.
2727
* <p>
28-
* Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">K&ouml;lner Phonetik</a> (Cologne Phonetic)
29-
* algorithm issued by Hans Joachim Postel in 1969.
30-
* </p>
31-
*
28+
* Implements the <a href="http://de.wikipedia.org/wiki/K%C3%B6lner_Phonetik">K&ouml;lner Phonetik</a>
29+
* (Cologne Phonetic) algorithm issued by Hans Joachim Postel in 1969.
30+
* <p>
31+
* The <i>K&ouml;lner Phonetik</i> is a phonetic algorithm which is optimized for the German language.
32+
* It is related to the well-known soundex algorithm.
3233
* <p>
33-
* The <i>K&ouml;lner Phonetik</i> is a phonetic algorithm which is optimized for the German language. It is related to the
34-
* well-known soundex algorithm.
35-
* </p>
3634
*
3735
* <h2>Algorithm</h2>
3836
*

src/main/java/org/apache/commons/codec/language/Metaphone.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,15 @@
2525
* <p>
2626
* Initial Java implementation by <CITE>William B. Brogden. December, 1997</CITE>.
2727
* Permission given by <CITE>wbrogden</CITE> for code to be used anywhere.
28-
* </p>
2928
* <p>
30-
* <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE> in <CITE>Computer Language of Dec. 1990, p
31-
* 39.</CITE>
32-
* </p>
29+
* <CITE>Hanging on the Metaphone</CITE> by <CITE>Lawrence Philips</CITE> in <CITE>Computer Language of Dec. 1990,
30+
* p 39.</CITE>
3331
* <p>
34-
* Note, that this does not match the algorithm that ships with PHP, or the algorithm
35-
* found in the Perl <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
32+
* Note, that this does not match the algorithm that ships with PHP, or the algorithm found in the Perl
33+
* <a href="http://search.cpan.org/~mschwern/Text-Metaphone-1.96/Metaphone.pm">Text:Metaphone-1.96</a>.
3634
* They have had undocumented changes from the originally published algorithm.
3735
* For more information, see <a href="https://issues.apache.org/jira/browse/CODEC-57">CODEC-57</a>.
38-
* </p>
39-
*
36+
* <p>
4037
* This class is conditionally thread-safe.
4138
* The instance field {@link #maxCodeLen} is mutable {@link #setMaxCodeLen(int)}
4239
* but is not volatile, and accesses are not synchronised.

0 commit comments

Comments
 (0)