You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/11/07 02:18:40 UTC

DO NOT REPLY [Bug 24484] New: - Soundex.setMaxLength causes bugs and is not needed.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24484>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24484

Soundex.setMaxLength causes bugs and is not needed.

           Summary: Soundex.setMaxLength causes bugs and is not needed.
           Product: Commons
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Codec
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: ggregory@seagullsw.com


Calling Soundex.setMaxLength() with a value of 2 or less causes the wrong answer
to be returned. Since the encoding returned by Soundex is /always/ of length 4
by definition (we do not use the '-' in as a letter-nnn separator for some
reason) the need for a maxLength attribute is not needed (I claim). Deprecate
the field and accessor methods.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org