Make NormativeOrders non-instantiable.

This commit is contained in:
sk89q 2015-01-10 23:44:31 -08:00
parent 6fe63838f5
commit 6c1489d434

View File

@ -58,10 +58,13 @@
* <p>These sorted lists are required for {@link FlagValueCalculator} and
* some implementations of {@link ApplicableRegionSet}.</p>
*/
public class NormativeOrders {
public final class NormativeOrders {
private static final PriorityComparator PRIORITY_COMPARATOR = new PriorityComparator();
private NormativeOrders() {
}
public static void sort(List<ProtectedRegion> regions) {
sortInto(Sets.newHashSet(regions), regions);
}