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

[Java] minor bug in CollectionUtil.validatePositivePowerOfTwo() #179

Closed
wants to merge 1 commit into from

Conversation

l-yara
Copy link

@l-yara l-yara commented Aug 8, 2019

The CollectionUtil#validatePositivePowerOfTwo code is a bit incorrect; also changed the exception thrown to the IllegalArgumentException

@mjpt777
Copy link
Contributor

mjpt777 commented Aug 8, 2019

I've pushed a better solution that passes checkstyle. Thanks.

@mjpt777 mjpt777 closed this Aug 8, 2019
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