[java-identity-provider] 13/16: Bit of log cleanup.
Scott Cantor
cantor.2 at osu.edu
Tue Sep 26 12:41:23 EDT 2017
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-3.3
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=dac4df14c1e09b5e0d23e5eef7609dc1379c413a
commit dac4df14c1e09b5e0d23e5eef7609dc1379c413a
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