You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.
Supplier class X needs a single public constructor
If your class is marked public but declares no ctors, then X.class.getConstructors() gives a one-element array; this element is the free public zero-arg ctor you get when you declare no constructors.
I hit this error message when:
https://github.com/junit-team/junit.contrib/blob/master/theories/src/main/java/org/junit/contrib/theories/Theories.java#L88
default
visibility instead of publicWould it make sense to change the message to "Supplier class X must not declare a constructor and must be public" ?
The text was updated successfully, but these errors were encountered: