Method in package private class does not need to be public

This commit is contained in:
Benedikt Ritter 2018-08-21 09:22:08 +02:00
parent 3d4a7e6716
commit 768f656c43
No known key found for this signature in database
GPG Key ID: 9DAADC1C9FCC82D0
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ final class Assertions {
// can not be instantiated
}
public static void notNull(final Object parameter, final String parameterName) {
static void notNull(final Object parameter, final String parameterName) {
if (parameter == null) {
throw new IllegalArgumentException("Parameter '" + parameterName + "' must not be null!");
}