[java-identity-provider] 01/04: Remove deprecation warning from the log

Rod Widdowson rdw at steadingsoftware.com
Tue Jun 6 14:12:27 UTC 2023


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=4f57b2de5e3f9b267a0db4d1fbf27a05c414d2ee

commit 4f57b2de5e3f9b267a0db4d1fbf27a05c414d2ee
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jun 5 14:22:10 2023 +0100

    Remove deprecation warning from the log
    
    The PluginVersion class is deprecated but that is a programming issue.
    There is no way that an end deployer can affect this so logging it is
    an annoyance.
---
 .../src/main/java/net/shibboleth/idp/plugin/PluginVersion.java       | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/idp-admin-api/src/main/java/net/shibboleth/idp/plugin/PluginVersion.java b/idp-admin-api/src/main/java/net/shibboleth/idp/plugin/PluginVersion.java
index baa3f1644..ac0b7142f 100644
--- a/idp-admin-api/src/main/java/net/shibboleth/idp/plugin/PluginVersion.java
+++ b/idp-admin-api/src/main/java/net/shibboleth/idp/plugin/PluginVersion.java
@@ -19,9 +19,6 @@ package net.shibboleth.idp.plugin;
 
 import javax.annotation.Nonnull;
 
-import net.shibboleth.shared.primitive.DeprecationSupport;
-import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
-
 /**
  * @deprecated class.
  */
@@ -35,7 +32,6 @@ import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
      */
     public PluginVersion(@Nonnull IdPPlugin plugin) throws NumberFormatException {
         super(plugin);
-        DeprecationSupport.warnOnce(ObjectType.CLASS, PluginVersion.class.toString(), null, InstallableComponentVersion.class.toString());
     }
 
     
@@ -48,6 +44,5 @@ import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
      */
     public PluginVersion(final String version) throws NumberFormatException {
         super(version);
-        DeprecationSupport.warnOnce(ObjectType.CLASS, PluginVersion.class.toString(), null, InstallableComponentVersion.class.toString());
     }
 }

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


More information about the commits mailing list