1
0

Normalize exception message

This commit is contained in:
Gary Gregory
2024-05-03 10:13:06 -04:00
parent 2fa63c758f
commit 144ae1f657

View File

@@ -87,7 +87,7 @@ public class AvalonLogger implements Log {
* @param name the name of the avalon logger implementation to delegate to * @param name the name of the avalon logger implementation to delegate to
*/ */
public AvalonLogger(final String name) { public AvalonLogger(final String name) {
Objects.requireNonNull(defaultLogger, "default logger has to be specified if this constructor is used!"); Objects.requireNonNull(defaultLogger, "defaultLogger");
this.logger = defaultLogger.getChildLogger(name); this.logger = defaultLogger.getChildLogger(name);
} }