[java-support] branch master updated: Only encoder actually warrants deprecation.

Scott Cantor cantor.2 at osu.edu
Fri Sep 2 20:35:41 EDT 2016


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=130c467b14d5715d5784eeccd0bdcb3b3a21f39a

The following commit(s) were added to refs/heads/master by this push:
       new  130c467   Only encoder actually warrants deprecation.
130c467 is described below

commit 130c467b14d5715d5784eeccd0bdcb3b3a21f39a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Sep 2 20:35:39 2016 -0400

    Only encoder actually warrants deprecation.
---
 .../java/net/shibboleth/utilities/java/support/net/URISupport.java    | 4 ----
 .../java/net/shibboleth/utilities/java/support/net/URLBuilder.java    | 1 -
 2 files changed, 5 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/net/URISupport.java b/src/main/java/net/shibboleth/utilities/java/support/net/URISupport.java
index 8868e50..4d37856 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/net/URISupport.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/net/URISupport.java
@@ -365,12 +365,8 @@ public final class URISupport {
     /**
      * Perform URL decoding on the given string.
      * 
-     * <p>Consider using Guava's UrlEscapers class for any future uses for this functionality.</p>
-     * 
      * @param value the string to decode
      * @return the decoded string
-     * 
-     * @deprecated
      */
     public static String doURLDecode(final String value) {
         if (value == null) {
diff --git a/src/main/java/net/shibboleth/utilities/java/support/net/URLBuilder.java b/src/main/java/net/shibboleth/utilities/java/support/net/URLBuilder.java
index 47285d3..d7a2e52 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/net/URLBuilder.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/net/URLBuilder.java
@@ -78,7 +78,6 @@ public class URLBuilder {
      * @throws MalformedURLException thrown if the given base URL is not well formed
      * 
      */
-    @SuppressWarnings("deprecation")
     public URLBuilder(@Nonnull @NotEmpty final String baseURL) throws MalformedURLException {
         final URL url = new URL(baseURL);
         

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list