[java-identity-provider COMMIT] /trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHash...
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jan 18 14:55:34 EST 2015
Author: scantor
Date: Sun Jan 18 14:55:34 2015
New Revision: 7261
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7261&view=rev
Log:
Defensive null-check.
Modified:
trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHashFunction.java
Modified: trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHashFunction.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHashFunction.java?rev=7261&r1=7260&r2=7261&view=diff
==============================================================================
--- trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHashFunction.java (original)
+++ trunk/idp-consent/src/main/java/net/shibboleth/idp/consent/logic/AttributeValuesHashFunction.java Sun Jan 18 14:55:34 2015
@@ -90,7 +90,7 @@
return null;
}
}
- } else {
+ } else if (value.getValue() != null) {
objectOutputStream.writeObject(value.getValue());
}
}
@@ -106,4 +106,5 @@
return null;
}
}
-}
+
+}
More information about the commits
mailing list