[java-identity-provider] branch master updated: Fix dependency on Java 8 method.
Scott Cantor
cantor.2 at osu.edu
Tue Mar 28 17:18:06 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=87db768fbf251243c98bd6a952f09e4e22365dff
The following commit(s) were added to refs/heads/master by this push:
new 87db768 Fix dependency on Java 8 method.
87db768 is described below
commit 87db768fbf251243c98bd6a952f09e4e22365dff
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 28 17:18:00 2017 -0400
Fix dependency on Java 8 method.
---
.../idp/saml/profile/config/DurationConfigurationLookupStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/DurationConfigurationLookupStrategy.java b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/DurationConfigurationLookupStrategy.java
index 8dea0ff..cc954e4 100644
--- a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/DurationConfigurationLookupStrategy.java
+++ b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/profile/config/DurationConfigurationLookupStrategy.java
@@ -90,7 +90,7 @@ public class DurationConfigurationLookupStrategy extends AbstractMetadataDrivenC
}
} else if (object instanceof XSInteger) {
final Integer value = ((XSInteger) object).getValue();
- return value != null ? Integer.toUnsignedLong(value) : null;
+ return value != null ? value.longValue() : null;
} else if (object instanceof XSAny) {
final XSAny wc = (XSAny) object;
if (wc.getUnknownAttributes().isEmpty() && wc.getUnknownXMLObjects().isEmpty()) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list