[java-support] 02/07: IDP-1047 Add @Parameter annotations as indicated by the logging
Ian Young
ian at iay.org.uk
Mon Jul 30 11:55:19 EDT 2018
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository java-support.
View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=66f41293a4752c915f2a75c19d3148c4ebbfbaf5
commit 66f41293a4752c915f2a75c19d3148c4ebbfbaf5
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue May 8 15:19:55 2018 +0100
IDP-1047 Add @Parameter annotations as indicated by the logging
https://issues.shibboleth.net/jira/browse/IDP-1047
---
.../java/support/security/DelegatingAccessControlService.java | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/main/java/net/shibboleth/utilities/java/support/security/DelegatingAccessControlService.java b/src/main/java/net/shibboleth/utilities/java/support/security/DelegatingAccessControlService.java
index 6b1c316..3781b20 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/security/DelegatingAccessControlService.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/security/DelegatingAccessControlService.java
@@ -19,15 +19,16 @@ package net.shibboleth.utilities.java.support.security;
import javax.annotation.Nonnull;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import net.shibboleth.utilities.java.support.annotation.ParameterName;
import net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent;
import net.shibboleth.utilities.java.support.component.ComponentSupport;
import net.shibboleth.utilities.java.support.logic.Constraint;
import net.shibboleth.utilities.java.support.service.ReloadableService;
import net.shibboleth.utilities.java.support.service.ServiceableComponent;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
/**
* This class uses the {@link ReloadableService} concept to implement {@link AccessControlService}
* to hide the details of pinning and unpinning the underlying service.
@@ -46,7 +47,8 @@ public class DelegatingAccessControlService extends AbstractIdentifiableInitiali
*
* @param acService the service which will manage the loading.
*/
- public DelegatingAccessControlService(@Nonnull final ReloadableService<AccessControlService> acService) {
+ public DelegatingAccessControlService(
+ @Nonnull @ParameterName(name="acService") final ReloadableService<AccessControlService> acService) {
service = Constraint.isNotNull(acService, "AccessControlService cannot be null");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list