INT-2939 Polishing
Add assert for non-null Level.
This commit is contained in:
committed by
Gunnar Hillert
parent
d54a88f528
commit
4818d9a722
@@ -98,6 +98,7 @@ public class LoggingHandler extends AbstractMessageHandler {
|
||||
* @param level the level.
|
||||
*/
|
||||
public void setLevel(Level level) {
|
||||
Assert.notNull(level, "'level' cannot be null");
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user