[java-identity-provider] branch main updated: Add c'tor argument annotation.

Scott Cantor cantor.2 at osu.edu
Mon Mar 1 18:50:17 UTC 2021


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

scantor 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=4f5d777415194bd0ea0f9c0965f5c1b18e4b46e9

The following commit(s) were added to refs/heads/main by this push:
       new  4f5d77741 Add c'tor argument annotation.
4f5d77741 is described below

commit 4f5d777415194bd0ea0f9c0965f5c1b18e4b46e9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 1 13:50:12 2021 -0500

    Add c'tor argument annotation.
---
 .../net/shibboleth/idp/authn/principal/PrincipalServiceManager.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/principal/PrincipalServiceManager.java b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/principal/PrincipalServiceManager.java
index 34a20c5f8..02cc83bce 100644
--- a/idp-authn-api/src/main/java/net/shibboleth/idp/authn/principal/PrincipalServiceManager.java
+++ b/idp-authn-api/src/main/java/net/shibboleth/idp/authn/principal/PrincipalServiceManager.java
@@ -31,6 +31,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 
+import net.shibboleth.utilities.java.support.annotation.ParameterName;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
 import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
 import net.shibboleth.utilities.java.support.annotation.constraint.NotLive;
@@ -58,7 +59,8 @@ public class PrincipalServiceManager {
      * @param services instances to manage
      */
     @Autowired
-    public PrincipalServiceManager(@Nullable @NonnullElements final Collection<PrincipalService<?>> services) {
+    public PrincipalServiceManager(
+            @Nullable @NonnullElements @ParameterName(name="services") final Collection<PrincipalService<?>> services) {
         if (services != null) {
             classIndexedMap = new HashMap<>(services.size());
             idIndexedMap = new HashMap<>(services.size());

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


More information about the commits mailing list