[java-identity-provider] 02/02: IDP-1047 At use of the @ParameterName annotation

Rod Widdowson rdw at steadingsoftware.com
Tue Jul 3 12:07:38 EDT 2018


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

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

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

commit 438f2c73ce6b09b33d65c464a217a3c2105852a2
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 3 17:06:30 2018 +0100

    IDP-1047 At use of the @ParameterName annotation
    
    https://issues.shibboleth.net/jira/browse/IDP-1047
    ... as found by tracking the ebug message in the discoverer.
---
 .../net/shibboleth/idp/cas/service/impl/MetadataServiceRegistry.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/service/impl/MetadataServiceRegistry.java b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/service/impl/MetadataServiceRegistry.java
index 6ad20ee..c8ff826 100644
--- a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/service/impl/MetadataServiceRegistry.java
+++ b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/service/impl/MetadataServiceRegistry.java
@@ -29,6 +29,7 @@ import net.shibboleth.idp.cas.config.impl.LoginConfiguration;
 import net.shibboleth.idp.cas.config.impl.ProxyConfiguration;
 import net.shibboleth.idp.cas.service.Service;
 import net.shibboleth.idp.cas.service.ServiceRegistry;
+import net.shibboleth.utilities.java.support.annotation.ParameterName;
 import net.shibboleth.utilities.java.support.resolver.CriteriaSet;
 import net.shibboleth.utilities.java.support.resolver.ResolverException;
 import org.opensaml.core.xml.XMLObject;
@@ -104,7 +105,7 @@ public class MetadataServiceRegistry implements ServiceRegistry {
      *
      * @param resolver SAML metadata resolver.
      */
-    public MetadataServiceRegistry(@Nonnull final MetadataResolver resolver) {
+    public MetadataServiceRegistry(@Nonnull @ParameterName(name="resolver") final MetadataResolver resolver) {
         metadataResolver = resolver;
     }
 

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


More information about the commits mailing list