|
@@ -110,7 +110,7 @@ public class SpringSecurityCoreVersion {
|
|
Properties properties = new Properties();
|
|
Properties properties = new Properties();
|
|
try {
|
|
try {
|
|
properties.load(SpringSecurityCoreVersion.class.getClassLoader().getResourceAsStream("META-INF/spring-security.versions"));
|
|
properties.load(SpringSecurityCoreVersion.class.getClassLoader().getResourceAsStream("META-INF/spring-security.versions"));
|
|
- } catch (IOException e) {
|
|
|
|
|
|
+ } catch (IOException | NullPointerException e) {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
return properties.getProperty("org.springframework:spring-core");
|
|
return properties.getProperty("org.springframework:spring-core");
|