[java-opensaml] branch master updated: Remove unneeded Guava dependency.
Scott Cantor
cantor.2 at osu.edu
Tue Jul 7 13:02:13 UTC 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=68cc9560c7a24365fe235fc3b623e9c0c447d7af
The following commit(s) were added to refs/heads/master by this push:
new 68cc9560c Remove unneeded Guava dependency.
68cc9560c is described below
commit 68cc9560c7a24365fe235fc3b623e9c0c447d7af
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 7 09:02:13 2020 -0400
Remove unneeded Guava dependency.
---
.../org/opensaml/soap/soap11/decoder/http/impl/HTTPSOAP11Decoder.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/opensaml-soap-impl/src/main/java/org/opensaml/soap/soap11/decoder/http/impl/HTTPSOAP11Decoder.java b/opensaml-soap-impl/src/main/java/org/opensaml/soap/soap11/decoder/http/impl/HTTPSOAP11Decoder.java
index d0c338483..3b319eb69 100644
--- a/opensaml-soap-impl/src/main/java/org/opensaml/soap/soap11/decoder/http/impl/HTTPSOAP11Decoder.java
+++ b/opensaml-soap-impl/src/main/java/org/opensaml/soap/soap11/decoder/http/impl/HTTPSOAP11Decoder.java
@@ -18,6 +18,7 @@
package org.opensaml.soap.soap11.decoder.http.impl;
import java.io.IOException;
+import java.util.Collections;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
@@ -33,7 +34,6 @@ import org.opensaml.soap.soap11.Envelope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import com.google.common.collect.Sets;
import com.google.common.net.MediaType;
import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
@@ -56,7 +56,7 @@ import net.shibboleth.utilities.java.support.net.HttpServletSupport;
public class HTTPSOAP11Decoder extends BaseHttpServletRequestXMLMessageDecoder {
/** Valid Content-Type media types. */
- private static final Set<MediaType> SUPPORTED_MEDIA_TYPES = Sets.newHashSet(MediaType.create("text", "xml"));
+ private static final Set<MediaType> SUPPORTED_MEDIA_TYPES = Collections.singleton(MediaType.create("text", "xml"));
/** Class logger. */
private final Logger log = LoggerFactory.getLogger(HTTPSOAP11Decoder.class);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list