[java-opensaml] branch maint-3.4 updated: Fix cherry-picked commit for older Java, take 2.
Brent Putman
putmanb at georgetown.edu
Fri Mar 20 18:18:56 EDT 2020
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch maint-3.4
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=258ad8e4bfeb8ada413aad2a6802115ac295ca6b
The following commit(s) were added to refs/heads/maint-3.4 by this push:
new 258ad8e Fix cherry-picked commit for older Java, take 2.
258ad8e is described below
commit 258ad8e4bfeb8ada413aad2a6802115ac295ca6b
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Fri Mar 20 18:18:55 2020 -0400
Fix cherry-picked commit for older Java, take 2.
---
.../metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
index 0fd78a4..8015f5d 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
@@ -22,7 +22,6 @@ import java.io.IOException;
import java.security.KeyPair;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
-import java.time.Duration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
@@ -266,7 +265,7 @@ public class AbstractDynamicMetadataResolverTest extends XMLObjectBaseTestCase {
@Test
public void testNegativeLookupCache() throws ComponentInitializationException, ResolverException, InterruptedException {
- resolver.setNegativeLookupCacheDuration(Duration.ofSeconds(2));
+ resolver.setNegativeLookupCacheDuration(2000l);
resolver.initialize();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list