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) {
|
||||
return settings;
|
||||
}
|
||||
if (classLoader != null) {
|
||||
settings = createClasspathSettings(classLoader, applicationName, fileNameWithoutSuffix);
|
||||
if (settings != null) {
|
||||
return settings;
|
||||
}
|
||||
}
|
||||
settings = createClasspathSettings(ConfigLoader.class.getClassLoader(), applicationName, fileNameWithoutSuffix);
|
||||
if (settings != null) {
|
||||
return settings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
group = org.xbib
|
||||
name = content
|
||||
version = 2.5.4
|
||||
version = 2.5.5
|
||||
|
||||
gradle.wrapper.version = 6.6.1
|
||||
xbib.net.version = 2.1.0
|
||||
|
|
Loading…
Reference in a new issue