Skip to content

Commit 18bfd07

Browse files
committed
Slightly better javadocs for the difference() APIs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130268 13f79535-47bb-0310-9956-ffa450edef68
1 parent af5537c commit 18bfd07

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/java/org/apache/commons/codec/language/Soundex.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* @author bayard@generationjava.com
5656
* @author Tim O'Brien
5757
* @author Gary Gregory
58-
* @version $Id: Soundex.java,v 1.14 2003/12/10 00:04:46 ggregory Exp $
58+
* @version $Id: Soundex.java,v 1.15 2003/12/10 02:51:26 ggregory Exp $
5959
*/
6060
public class Soundex implements StringEncoder {
6161

@@ -76,10 +76,10 @@ public class Soundex implements StringEncoder {
7676
* Soundex, this return value ranges from 0 through 4: 0 indicates little or
7777
* no similarity, and 4 indicates strong similarity or identical values.
7878
*
79-
* @param s1
80-
* A String.
81-
* @param s2
82-
* A String.
79+
* @param s1
80+
* A String that will be encoded and compared.
81+
* @param s2
82+
* A String that will be encoded and compared.
8383
* @return The return value ranges from 0 through 4: 0 indicates little or
8484
* no similarity, and 4 indicates strong similarity or identical
8585
* values.
@@ -102,11 +102,11 @@ public int difference(String s1, String s2) throws EncoderException {
102102
* similarity, and 4 indicates strong similarity or identical values.
103103
*
104104
* @param encoder
105-
* The encoder to use to encode the String parameters with.
106-
* @param s1
107-
* A String.
108-
* @param s2
109-
* A String.
105+
* The encoder to use to encode the String parameters.
106+
* @param s1
107+
* A String that will be encoded and compared.
108+
* @param s2
109+
* A String that will be encoded and compared.
110110
* @return an integer from 0 to the length of the shorter string. The
111111
* smaller the number, the more different the strings are.
112112
*

0 commit comments

Comments
 (0)