Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary logic double-checks whether user has roles, creates extra ma... #13

Closed
wants to merge 1 commit into from

Conversation

jstell
Copy link

@jstell jstell commented Apr 20, 2012

...p object, loses order. Changed to use a single LinkedHashMap to preserve order, simplified logic to only do the 'contains' check one time for each role.

… map object, loses order. Changed to use a single LinkedHashMap to preserve order, simplified logic to only do the 'contains' check one time for each role.
@ddelponte
Copy link
Collaborator

Thanks for your contribution @jstell !

Nice refactoring :)

Would you have time to resolve conflicts and provide a test?

@jstell
Copy link
Author

jstell commented Oct 3, 2017

Haha! That pull request is over 5 years old! I'm not sure I remember what I was doing that long ago.

@ddelponte
Copy link
Collaborator

No problem @jstell . I completely understand.
I like the refactoring and will keep this PR open until I have some time to recreate it without conflicts and with a test.
Thank-you! ✨

@ddelponte
Copy link
Collaborator

Closing. This has been reimplemented in PR #80 and documented in issue #79

@ddelponte ddelponte closed this Oct 4, 2017
sdelamo pushed a commit that referenced this pull request Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants