Fix NPE in JAAS PropertiesLoader when in debug mode without baseDir

This commit is contained in:
Ville Skyttä 2016-10-13 00:25:08 +03:00
parent 6fbafc4441
commit a3527869b4
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class PropertiesLoader {
}
}
if (debug) {
logger.debug("Using basedir=" + baseDir.getAbsolutePath());
logger.debug("Using basedir=" + (baseDir == null ? null : baseDir.getAbsolutePath()));
}
return baseDir;
}