Permalink
Browse files

Avoid NPE when log.getParent() returns null

  • Loading branch information...
ndw committed Feb 12, 2014
1 parent b312d0a commit db97d0c7c5d4eb43c337d3e58a3cd2dea3227990
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/com/xmlcalabash/model/DeclareStep.java
@@ -209,7 +209,9 @@ private int logLevel(Logger logger) {
while (log != null && level == null) {
log = log.getParent();
level = log.getLevel();
if (log != null) {
level = log.getLevel();
}
}
if (level == null) {

0 comments on commit db97d0c

Please sign in to comment.