File tree Expand file tree Collapse file tree
src/java/org/apache/commons/codec/language Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 * general purpose scheme to find word with similar phonemes.
2525 *
2626 * @author Apache Software Foundation
27- * @version $Id: Soundex.java,v 1.25 2004/06/13 23:47:36 ggregory Exp $
27+ * @version $Id: Soundex.java,v 1.26 2004/07/07 23:15:24 ggregory Exp $
2828 */
2929public class Soundex implements StringEncoder {
3030
@@ -81,7 +81,7 @@ public int difference(String s1, String s2) throws EncoderException {
8181 /**
8282 * The maximum length of a Soundex code - Soundex codes are only four characters by definition.
8383 *
84- * @deprecated This feature is not needed since the encoding size must be constant.
84+ * @deprecated This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
8585 */
8686 private int maxLength = 4 ;
8787
@@ -180,7 +180,7 @@ private char getMappingCode(String str, int index) {
180180 /**
181181 * Returns the maxLength. Standard Soundex
182182 *
183- * @deprecated This feature is not needed since the encoding size must be constant.
183+ * @deprecated This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
184184 * @return int
185185 */
186186 public int getMaxLength () {
@@ -216,7 +216,7 @@ private char map(char ch) {
216216 /**
217217 * Sets the maxLength.
218218 *
219- * @deprecated This feature is not needed since the encoding size must be constant.
219+ * @deprecated This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
220220 * @param maxLength
221221 * The maxLength to set
222222 */
You can’t perform that action at this time.
0 commit comments