Fix exception, resolves #20 and #22

This commit is contained in:
Luck 2016-10-10 22:39:24 +01:00
parent 11facab71c
commit dcf207f5e5
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -65,12 +65,12 @@ public class PermissionHolderLink implements PermissionHolder {
@Override
public Set<Node> getAllNodes() {
return Collections.unmodifiableSet(master.getAllNodes(Collections.emptyList(), Contexts.allowAll()));
return Collections.unmodifiableSet(master.getAllNodes(null, Contexts.allowAll()));
}
@Override
public SortedSet<LocalizedNode> getAllNodes(@NonNull Contexts contexts) {
return master.getAllNodes(Collections.emptyList(), contexts);
return master.getAllNodes(null, contexts);
}
@Override