Commit ec225ad
Timothy O'Brien
The StringEncoderComparator used to call o1.toString(), and
o2.toString() on the parameters supplied to the compare
method. There is no need to require that only Strings
are passed to the StringEncoderComparator - (actually
there is no reason why we couldn't have a generic Encoder
comparator. This patch is the first step towards a more
generic object, and it allows us to test the exception condition
in this compare() method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130206 13f79535-47bb-0310-9956-ffa450edef681 parent c76ca5e commit ec225ad
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments