Bug 68787 [Markers] Messages need to be converted to the new format
R3.0 The fix for the missing help in the tasks view introduced a missing NL string Non-externalized string literal; it should be followed by //$NON-NLS-<n>$ MarkerView.java org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal line 298
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/SortUtil.java
}
        return removed;
    }
    /**
     * Finds and returns the greatest element in the given collection, or null if the collection
     * is empty.
     *  
     * @param toSearch collection to search
     * @param c comparator used to determine the greatest item
     * @return the greatest item in the collection
     */
    public static Object findGreatest(Collection toSearch, Comparator c) {
        
        if (toSearch instanceof SortedSet
                && ((SortedSet) toSearch).comparator().equals(c)) {
            return ((SortedSet) toSearch).last();
        }
        
        Object result = null;
        Iterator iter = toSearch.iterator();
        while (iter.hasNext()) {
            Object next = iter.next();
            if (result == null || c.compare(result, next) > 0) {
                result = next;
            }
        }
        return result;
    }
}