Revision 11667

View differences:

trunk/libraries/libIverUtiles/src/com/iver/utiles/StringComparator.java
57 57
     * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
58 58
     */
59 59
    public int compare(Object o1, Object o2) {
60
        String s1 = (String) o1;
61
        String s2 = (String) o2;
60
        String s1 = o1.toString();
61
        String s2 = o2.toString();
62 62

  
63 63
        // If localeRules is null -> use the default rules
64 64
        if (localeRules == null) {

Also available in: Unified diff