Repository navigation
Access refactoring - #1436
Merged
Merged
Access refactoring#1436
Conversation
boldtrn
reviewed
Aug 21, 2018
|
|
||
| enum Access { | ||
| YES, | ||
| CONDITIONAL, |
boldtrn
reviewed
Aug 21, 2018
| } | ||
|
|
||
| boolean canSkip() { | ||
| return this.ordinal() == CAN_SKIP.ordinal(); |
Member
Author
There was a problem hiding this comment.
like a way for houses or otherwise skippable ways.
Member
There was a problem hiding this comment.
Thanks for explaining. Maybe this is just me, but I always thought the return 0 to be more a don't accept than a can skip, that's why I asked.
Member
Author
There was a problem hiding this comment.
"can skip" in the sense of do not use it for this flagencoder. So it could be used for another ... still we can use a different wording like "ignore"?
Member
There was a problem hiding this comment.
Thanks, yeah maybe can skip is not bad from this point of view. Maybe ignore would be better, but I am not sure, I think we can also leave it as it is right now.
karussell
force-pushed
the
access_refactoring
branch
from
September 20, 2018 14:58
2ca02cf to
272f851
Compare
Merged
13 tasks done
karussell
force-pushed
the
access_refactoring
branch
from
February 19, 2019 15:15
dbc9e7f to
855397a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make access handling for FlagEncoders more readable via a separate and new class (EncodingManager.Access)
Rename AccessValue to Access for SpatialRules
Merge this after #1460 so that we can use this better API in the public TagParser interface instead of "allowed". Probably then also move TagParser out of EncodingManager as it is more related to parsing not encoding the info.