INT-2939 Polishing

Add assert for non-null Level.
This commit is contained in:
Gary Russell
2013-04-01 16:45:42 -04:00
committed by Gunnar Hillert
parent d54a88f528
commit 4818d9a722

View File

@@ -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;
}