[java-opensaml] branch master updated: OSJ-255 - non-actionable deprecation message

Scott Cantor cantor.2 at osu.edu
Wed Oct 3 09:54:03 EDT 2018


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=2f910f640bbdfd51c7b7b3bfd609c89377200edd

The following commit(s) were added to refs/heads/master by this push:
       new  2f910f6   OSJ-255 - non-actionable deprecation message
2f910f6 is described below

commit 2f910f640bbdfd51c7b7b3bfd609c89377200edd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Oct 3 09:53:57 2018 -0400

    OSJ-255 - non-actionable deprecation message
    
    https://issues.shibboleth.net/jira/browse/OSJ-255
---
 .../java/org/opensaml/xmlsec/encryption/support/Decrypter.java    | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
index 4faad3a..338a8c4 100644
--- a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
+++ b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
@@ -21,7 +21,6 @@ import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 import java.security.Key;
 import java.util.Collection;
-import java.util.HashMap;
 import java.util.HashSet;
 import java.util.LinkedList;
 import java.util.List;
@@ -31,15 +30,11 @@ import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 import javax.xml.XMLConstants;
 
-import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
 import net.shibboleth.utilities.java.support.logic.Constraint;
-import net.shibboleth.utilities.java.support.primitive.DeprecationSupport;
-import net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType;
 import net.shibboleth.utilities.java.support.primitive.StringSupport;
 import net.shibboleth.utilities.java.support.resolver.CriteriaSet;
 import net.shibboleth.utilities.java.support.resolver.Criterion;
 import net.shibboleth.utilities.java.support.resolver.ResolverException;
-import net.shibboleth.utilities.java.support.xml.BasicParserPool;
 import net.shibboleth.utilities.java.support.xml.ParserPool;
 import net.shibboleth.utilities.java.support.xml.QNameSupport;
 import net.shibboleth.utilities.java.support.xml.XMLParserException;
@@ -49,7 +44,6 @@ import org.apache.xml.security.encryption.XMLCipher;
 import org.apache.xml.security.encryption.XMLEncryptionException;
 import org.opensaml.core.config.ConfigurationService;
 import org.opensaml.core.xml.XMLObject;
-import org.opensaml.core.xml.XMLRuntimeException;
 import org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport;
 import org.opensaml.core.xml.io.Marshaller;
 import org.opensaml.core.xml.io.MarshallingException;
@@ -988,8 +982,6 @@ public class Decrypter {
      * @deprecated
      */
     protected ParserPool buildParserPool() {
-        DeprecationSupport.warnOnce(ObjectType.METHOD, getClass().getName() + ".buildParserPool()", 
-                null, "no replacement (now obtained from global configuration)");
         // Note: we don't really build this here anymore, so the method name is semantically misleading.
         // We should remove this method in next major release and just move this call to the ctor.
         return Constraint.isNotNull(ConfigurationService.get(DecryptionParserPool.class), 

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


More information about the commits mailing list