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

Fix compilation errors for non-string enums #713

Merged
merged 2 commits into from
Mar 26, 2017

Conversation

thachhoang
Copy link
Collaborator

@thachhoang thachhoang commented Mar 26, 2017

Use the correct argument type for the factory method and the constructor of enums with non-string backing types: number and integer.

Eclipse 4.5.2.

Both org.hamcrest.Matchers and org.mockito.Matchers have a method
any(Class<T> clazz).
Use the correct argument type for the factory method and
the constructor of enums with non-string backing types:
number and integer.
@joelittlejohn joelittlejohn merged commit 7b973cf into joelittlejohn:master Mar 26, 2017
@joelittlejohn
Copy link
Owner

Thanks @thachhoang 👍 👍 👍

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.

2 participants