Skip to content

Commit fa89e5c

Browse files
committed
Javadoc typo
1 parent 8e54782 commit fa89e5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.apache.commons.codec.StringEncoder;
2222

2323
/**
24-
* Encodes a string into a Refined Soundex value. A refined soundex code is
24+
* Encodes a string into a Refined Soundex value. A refined Soundex code is
2525
* optimized for spell checking words. Soundex method originally developed by
2626
* <CITE>Margaret Odell</CITE> and <CITE>Robert Russell</CITE>.
2727
*
@@ -77,7 +77,7 @@ public RefinedSoundex() {
7777
}
7878

7979
/**
80-
* Creates a refined soundex instance using a custom mapping. This
80+
* Creates a refined Soundex instance using a custom mapping. This
8181
* constructor can be used to customize the mapping, and/or possibly
8282
* provide an internationalized mapping for a non-Western character set.
8383
*
@@ -128,15 +128,15 @@ public int difference(final String s1, final String s2) throws EncoderException
128128
}
129129

130130
/**
131-
* Encodes an Object using the refined soundex algorithm. This method is
131+
* Encodes an Object using the refined Soundex algorithm. This method is
132132
* provided in order to satisfy the requirements of the Encoder interface,
133133
* and will throw an EncoderException if the supplied object is not of type
134134
* {@link String}.
135135
*
136136
* @param obj
137137
* Object to encode
138138
* @return An object (or type {@link String}) containing the refined
139-
* soundex code which corresponds to the String supplied.
139+
* Soundex code which corresponds to the String supplied.
140140
* @throws EncoderException
141141
* if the parameter supplied is not of type {@link String}
142142
*/
@@ -149,7 +149,7 @@ public Object encode(final Object obj) throws EncoderException {
149149
}
150150

151151
/**
152-
* Encodes a String using the refined soundex algorithm.
152+
* Encodes a String using the refined Soundex algorithm.
153153
*
154154
* @param str
155155
* A String object to encode
@@ -185,7 +185,7 @@ char getMappingCode(final char c) {
185185
*
186186
* @param str
187187
* String to encode using the Refined Soundex algorithm
188-
* @return A soundex code for the String supplied
188+
* @return A Soundex code for the String supplied
189189
*/
190190
public String soundex(String str) {
191191
if (str == null) {

0 commit comments

Comments
 (0)