mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-04-14 06:33:34 +02:00
Rechtschreibung korrigiert
This commit is contained in:
@@ -68,3 +68,5 @@ Alternativen, von deren Nutzung gar nicht abgeraten werden soll.
|
||||
Klassen, Methoden und Variablen verwendet. Ausnahme sind einzelne Klassen,
|
||||
die im Zusammnehang mit dem Namen der Bibliothek stehen, wie die
|
||||
Hauptklasse `Zeichenmaschine`.
|
||||
|
||||
Foo
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user