Rechtschreibung korrigiert

This commit is contained in:
ngb
2023-01-17 11:26:20 +01:00
parent 39014fe82e
commit ef248a8580
3 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ public class Validator {
public static final <T> T requireNotNull( T obj, Supplier<String> msg ) {
if( obj == null ) {
throw new NullPointerException(msg == null ? "Parameter may nut be null." : msg.get());
throw new NullPointerException(msg == null ? "Parameter may not be null." : msg.get());
}
return obj;
}