Skip to content

Commit

Permalink
Add isPermittedWayConditionallyRestricted(way, accept)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robot8A authored Aug 27, 2022
1 parent 38d9ba6 commit 9da018d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,12 @@ public EncodingManager.Access isRestrictedWayConditionallyPermitted(ReaderWay wa
}

public EncodingManager.Access isPermittedWayConditionallyRestricted(ReaderWay way) {
return getConditionalAccess(way, EncodingManager.Access.WAY, false);
return isPermittedWayConditionallyRestricted(way, EncodingManager.Access.WAY);
}

public EncodingManager.Access isPermittedWayConditionallyRestricted(ReaderWay way, EncodingManager.Access accept) {
return getConditionalAccess(way, accept, false);
}

private EncodingManager.Access getConditionalAccess(ReaderWay way, EncodingManager.Access accept, boolean permissive) {
ConditionalTagInspector conditionalTagInspector = getConditionalTagInspector();
Expand Down

0 comments on commit 9da018d

Please sign in to comment.