(T f1, T f2)
| 80 | // get a reliable result. |
| 81 | Collections.sort(list, Collections.reverseOrder(new Comparator<T>() { |
| 82 | @Override |
| 83 | public int compare(T f1, T f2) { |
| 84 | int pd = priorityAccessor.getPriority(f1) - priorityAccessor.getPriority(f2); |
| 85 | if (pd != 0) { |
| 86 | return pd; |
| 87 | } |
| 88 | return f1.getClass().getName().compareTo(f2.getClass().getName()); |
| 89 | } |
| 90 | })); |
| 91 | return Collections.unmodifiableList(list); |
| 92 | } |
nothing calls this directly
no test coverage detected