[java-opensaml] branch master updated: JPAR-85 - Be more conservative when disabling Checkstyle
Tom Zeller
tzeller at dragonacea.biz
Mon Aug 14 11:15:56 EDT 2017
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=048a645c25ef8482ef23422500ffdeac1f9205ae
The following commit(s) were added to refs/heads/master by this push:
new 048a645 JPAR-85 - Be more conservative when disabling Checkstyle
048a645 is described below
commit 048a645c25ef8482ef23422500ffdeac1f9205ae
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Aug 14 10:15:54 2017 -0500
JPAR-85 - Be more conservative when disabling Checkstyle
---
.../opensaml/core/xml/config/AbstractXMLObjectProviderInitializer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-core/src/main/java/org/opensaml/core/xml/config/AbstractXMLObjectProviderInitializer.java b/opensaml-core/src/main/java/org/opensaml/core/xml/config/AbstractXMLObjectProviderInitializer.java
index feea8a8..8020d9d 100644
--- a/opensaml-core/src/main/java/org/opensaml/core/xml/config/AbstractXMLObjectProviderInitializer.java
+++ b/opensaml-core/src/main/java/org/opensaml/core/xml/config/AbstractXMLObjectProviderInitializer.java
@@ -38,6 +38,7 @@ public abstract class AbstractXMLObjectProviderInitializer implements Initialize
final XMLConfigurator configurator = new XMLConfigurator();
// Checkstyle: FinalLocalVariable OFF
for (String resource : getConfigResources()) {
+ // Checkstyle: FinalLocalVariable ON
// When using ClassLoader.getResourceAsStream() (as below), resource names should *not*
// begin with leading "/". They are always absolute.
// This differs from Class.getResourceAsStream(), where absolute names must begin with /, otherwise
@@ -55,7 +56,6 @@ public abstract class AbstractXMLObjectProviderInitializer implements Initialize
throw new XMLConfigurationException("Resource not found");
}
}
- // Checkstyle: FinalLocalVariable ON
} catch (final XMLConfigurationException e) {
log.error("Problem loading configuration resource", e);
throw new InitializationException("Problem loading configuration resource", e);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list