[spring-extensions] 02/02: IDP-1516 remove guava where not needed
Rod Widdowson
rdw at steadingsoftware.com
Tue Nov 5 06:27:17 EST 2019
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=42405b1c790b5d82805fe7e148dfd375c649f278
commit 42405b1c790b5d82805fe7e148dfd375c649f278
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Nov 5 10:49:42 2019 +0000
IDP-1516 remove guava where not needed
https://issues.shibboleth.net/jira/browse/IDP-1516
---
src/test/java/net/shibboleth/ext/spring/resource/HTTPResourceTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/test/java/net/shibboleth/ext/spring/resource/HTTPResourceTest.java b/src/test/java/net/shibboleth/ext/spring/resource/HTTPResourceTest.java
index f11c641..114f7e5 100644
--- a/src/test/java/net/shibboleth/ext/spring/resource/HTTPResourceTest.java
+++ b/src/test/java/net/shibboleth/ext/spring/resource/HTTPResourceTest.java
@@ -39,7 +39,6 @@ import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import com.google.common.collect.Sets;
import net.shibboleth.ext.spring.util.SchemaTypeAwareXMLBeanDefinitionReader;
import net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder;
@@ -204,7 +203,7 @@ public class HTTPResourceTest {
File theDir = null;
GenericApplicationContext context = null;
try {
- final Set<PosixFilePermission> prot = Sets.newHashSet(PosixFilePermission.values());
+ final Set<PosixFilePermission> prot = Set.of(PosixFilePermission.values());
final Path p = Files.createTempDirectory("HTTPResourceTest", PosixFilePermissions.asFileAttribute(prot));
theDir = p.toFile();
context = getContext("classpath:net/shibboleth/ext/spring/resource/MemBackedHTTPBean.xml", null);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list