commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CODEC-169) What should StringEncoderComparator do with non-Comparable encoded params?
Date Mon, 08 Apr 2013 17:43:15 GMT
Sebb created CODEC-169:
--------------------------

             Summary: What should StringEncoderComparator do with non-Comparable encoded params?
                 Key: CODEC-169
                 URL: https://issues.apache.org/jira/browse/CODEC-169
             Project: Commons Codec
          Issue Type: Bug
            Reporter: Sebb


If the StringEncoderComparator is created with a StringEncoder that can generate a non-Comparable
encoded version, then the compare() method will currently fail with ClassCastException.

What should it do?
Return 0 as for EncoderException?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message