[java-opensaml] branch main updated: OSJ-371 - Removal of deprecated features

Scott Cantor cantor.2 at osu.edu
Tue Jan 24 13:39:57 UTC 2023


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

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=1af078237c3e2181416cea258ecb6e50d0c02ffd

The following commit(s) were added to refs/heads/main by this push:
     new 1af078237 OSJ-371 - Removal of deprecated features
1af078237 is described below

commit 1af078237c3e2181416cea258ecb6e50d0c02ffd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 24 08:39:54 2023 -0500

    OSJ-371 - Removal of deprecated features
    
    https://shibboleth.atlassian.net/browse/OSJ-371
    
    Remove getValue/setValue methods from XSURI interface.
---
 .../java/org/opensaml/core/xml/schema/XSURI.java   | 23 ----------------------
 1 file changed, 23 deletions(-)

diff --git a/opensaml-core-api/src/main/java/org/opensaml/core/xml/schema/XSURI.java b/opensaml-core-api/src/main/java/org/opensaml/core/xml/schema/XSURI.java
index d9d9715f0..17319425e 100644
--- a/opensaml-core-api/src/main/java/org/opensaml/core/xml/schema/XSURI.java
+++ b/opensaml-core-api/src/main/java/org/opensaml/core/xml/schema/XSURI.java
@@ -22,8 +22,6 @@ import javax.annotation.Nullable;
 import javax.xml.namespace.QName;
 
 import net.shibboleth.shared.annotation.constraint.NotEmpty;
-import net.shibboleth.shared.primitive.DeprecationSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.shared.xml.XMLConstants;
 
 import org.opensaml.core.xml.XMLObject;
@@ -53,25 +51,4 @@ public interface XSURI extends XMLObject {
      */
     void setURI(@Nullable final String uri);
 
-    /**
-     * Gets the URI content of the element.
-     * 
-     * @return the URI content of the element
-     */
-    @Deprecated(forRemoval=true, since="4.0.0")
-    @Nullable default String getValue() {
-        DeprecationSupport.warn(ObjectType.METHOD, "getValue", XSURI.class.toString(), "getURI");
-        return getURI();
-    }
-    
-    /**
-     * Sets the URI content of the element.
-     * 
-     * @param uri the URI content of the element
-     */
-    @Deprecated(forRemoval=true, since="4.0.0")
-    default void setValue(@Nullable final String uri) {
-        DeprecationSupport.warn(ObjectType.METHOD, "setValue", XSURI.class.toString(), "setURI");
-        setURI(uri);
-    }
 }
\ No newline at end of file

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


More information about the commits mailing list