[java-identity-provider COMMIT] /trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationConte...
noreply at shibboleth.net
noreply at shibboleth.net
Sat Jan 31 16:14:05 EST 2015
Author: scantor
Date: Sat Jan 31 16:14:05 2015
New Revision: 7296
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7296&view=rev
Log:
Fix warning.
Modified:
trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
Modified: trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java?rev=7296&r1=7295&r2=7296&view=diff
==============================================================================
--- trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java (original)
+++ trunk/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java Sat Jan 31 16:14:05 2015
@@ -184,7 +184,7 @@
public void logProperties(@Nonnull final Properties properties) {
if (log.isDebugEnabled()) {
final Pattern pattern = Pattern.compile("password|credential", Pattern.CASE_INSENSITIVE);
- for (final String name : new TreeSet<String>(properties.stringPropertyNames())) {
+ for (final String name : new TreeSet<>(properties.stringPropertyNames())) {
final Object value = pattern.matcher(name).find() ? "<suppressed>" : properties.get(name);
log.debug("Loaded property '{}'='{}'", name, value);
}
More information about the commits
mailing list