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

Replace duplicated code with function call #197

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

janisz
Copy link
Collaborator

@janisz janisz commented Jan 7, 2020

peek performs the same assertions as peekCheckErr. There is no need to keep this checks in two places.

peek performs the same assertions as peekCheckErr.
There is no need to keep this checks in two places.
@cristaloleg cristaloleg merged commit 32b9aa9 into allegro:master Jan 7, 2020
@janisz janisz deleted the remove_duplicates branch January 7, 2020 13:57
@siennathesane
Copy link
Collaborator

love it.

flisky pushed a commit to flisky/bigcache that referenced this pull request May 7, 2020
peek performs the same assertions as peekCheckErr.
There is no need to keep this checks in two places.
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.

3 participants