[java-identity-provider] branch master updated: Bit of log cleanup.

Scott Cantor cantor.2 at osu.edu
Fri Aug 4 19:16:49 EDT 2017


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=4ffb58b2a986b172ee5430a4deeb1ef7efcc100b

The following commit(s) were added to refs/heads/master by this push:
       new  4ffb58b   Bit of log cleanup.
4ffb58b is described below

commit 4ffb58b2a986b172ee5430a4deeb1ef7efcc100b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Aug 4 19:16:46 2017 -0400

    Bit of log cleanup.
---
 .../idp/attribute/resolver/ad/mapped/impl/ValueMap.java           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/mapped/impl/ValueMap.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/mapped/impl/ValueMap.java
index 9942006..be6d4c5 100644
--- a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/mapped/impl/ValueMap.java
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/mapped/impl/ValueMap.java
@@ -123,12 +123,12 @@ public class ValueMap implements Function<String, Set<StringAttributeValue>> {
             String newValue = null;
 
             if (sourceValue.isPartialMatch()) {
-                log.debug("Performing partial match comparison.");
+                log.debug("Performing partial match comparison");
                 if (sourceValue.getValue() == null) {
                     log.debug("Source value was null, no partial match");
                 } else if (attributeValue.contains(sourceValue.getValue())) {
                     newValue = returnValue;
-                    log.debug("Attribute value '{}' matches source value '{}' it will be mapped to '{}'", new Object[] {
+                    log.debug("Attribute value '{}' contains source value '{}', will be mapped to '{}'", new Object[] {
                             attributeValue, sourceValue.getValue(), newValue,});
                 }
             } else {
@@ -137,11 +137,11 @@ public class ValueMap implements Function<String, Set<StringAttributeValue>> {
                     final Matcher m = sourceValue.getPattern().matcher(attributeValue);
                     if (m.matches()) {
                         newValue = returnValue != null ? m.replaceAll(returnValue) : null;
-                        log.debug("Attribute value '{}' matches regular expression it will be mapped to '{}'",
+                        log.debug("Attribute value '{}' matches regular expression, will be mapped to '{}'",
                                 attributeValue, newValue);
                     }
                 } catch (final PatternSyntaxException e) {
-                    log.debug("Error matching value {}.  Skipping this value.", attributeValue);
+                    log.debug("Error matching value '{}', skipping it", attributeValue);
                 }
             }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list