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

Commits on Mar 26, 2017

  1. Fix Eclipse error for ambiguous any method

    Eclipse 4.5.2.
    
    Both org.hamcrest.Matchers and org.mockito.Matchers have a method
    any(Class<T> clazz).
    thachhoang committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    5e024e2 View commit details
    Browse the repository at this point in the history
  2. Fix compilation errors for non-string enums

    Use the correct argument type for the factory method and
    the constructor of enums with non-string backing types:
    number and integer.
    thachhoang committed Mar 26, 2017
    Configuration menu
    Copy the full SHA
    c86fac4 View commit details
    Browse the repository at this point in the history