View | Details | Raw Unified | Return to bug 58535
Collapse All | Expand All

(-)java/org/apache/catalina/manager/util/ReverseComparator.java (-2 / +2 lines)
Lines 41-47 Link Here
41
     */
41
     */
42
    @Override
42
    @Override
43
    public int compare(Session o1, Session o2) {
43
    public int compare(Session o1, Session o2) {
44
        int returnValue = comparator.compare(o1, o2);
44
        // Note that comparing o2 with o1 to get reverse result...
45
        return (- returnValue);
45
        return comparator.compare(o2, o1);
46
    }
46
    }
47
}
47
}

Return to bug 58535