Permission change causes new test failure
@@ -53,7 +53,15 @@ public final class Permission {
/**
* Comparator that orders {@link Permission} objects based on their ID.
*/
- public static final Comparator<Permission> ID_COMPARATOR = Comparator.comparing(Permission::getId);
+ public static final Comparator<Permission> ID_COMPARATOR = new Comparator<Permission>() {
+
+ // break eclipse compilation
+ //Override
+ @Override
+ public int compare(@NonNull Permission one, @NonNull Permission two) {
+ return one.getId().compareTo(two.getId());
+ }
+ };
public final @NonNull Class owner;
