fix NPE
This commit is contained in:
parent
21439c133b
commit
8774fcc1dd
2 changed files with 6 additions and 4 deletions
|
@ -42,10 +42,12 @@ public class ConfigLoader {
|
||||||
if (settings != null) {
|
if (settings != null) {
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
|
if (classLoader != null) {
|
||||||
settings = createClasspathSettings(classLoader, applicationName, fileNameWithoutSuffix);
|
settings = createClasspathSettings(classLoader, applicationName, fileNameWithoutSuffix);
|
||||||
if (settings != null) {
|
if (settings != null) {
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
settings = createClasspathSettings(ConfigLoader.class.getClassLoader(), applicationName, fileNameWithoutSuffix);
|
settings = createClasspathSettings(ConfigLoader.class.getClassLoader(), applicationName, fileNameWithoutSuffix);
|
||||||
if (settings != null) {
|
if (settings != null) {
|
||||||
return settings;
|
return settings;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
group = org.xbib
|
group = org.xbib
|
||||||
name = content
|
name = content
|
||||||
version = 2.5.4
|
version = 2.5.5
|
||||||
|
|
||||||
gradle.wrapper.version = 6.6.1
|
gradle.wrapper.version = 6.6.1
|
||||||
xbib.net.version = 2.1.0
|
xbib.net.version = 2.1.0
|
||||||
|
|
Loading…
Reference in a new issue