Skip to content

Commit

Permalink
Undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg committed Feb 9, 2024
1 parent cc0eb06 commit 63fe554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Automaton getAutomaton() {
/**
* Sorts the map of privileges from least-privilege to most-privilege
*/
public static <T extends Privilege> SortedMap<String, T> sortByAccessLevel(Map<String, T> privileges) {
static <T extends Privilege> SortedMap<String, T> sortByAccessLevel(Map<String, T> privileges) {
// How many other privileges is this privilege a subset of. Those with a higher count are considered to be a lower privilege
final Map<String, Long> subsetCount = Maps.newMapWithExpectedSize(privileges.size());
privileges.forEach(
Expand Down

0 comments on commit 63fe554

Please sign in to comment.