`debug` may not have been initialized and cause an NPE

This commit is contained in:
Reinhard Pointner 2016-05-16 23:10:54 +08:00
parent 8e082f4a28
commit 0131bd0af5
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class SystemProperty<T> {
try {
return valueFunction.apply(prop);
} catch (Exception e) {
debug.logp(Level.WARNING, SystemProperty.class.getName(), key, e.toString());
log.logp(Level.WARNING, "SystemProperty", key, e.toString());
}
}