[java-opensaml] branch master updated: IDP-1047 At use of the @ParameterName annotation
Rod Widdowson
rdw at steadingsoftware.com
Tue Jul 3 12:08:13 EDT 2018
This is an automated email from the git hooks/post-receive script.
rdw 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=f63ee8f537a9fe817f29b8d9c5c08d14194f066e
The following commit(s) were added to refs/heads/master by this push:
new f63ee8f IDP-1047 At use of the @ParameterName annotation
f63ee8f is described below
commit f63ee8f537a9fe817f29b8d9c5c08d14194f066e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 3 17:07:53 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.
---
.../saml/metadata/resolver/index/impl/EndpointMetadataIndex.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/index/impl/EndpointMetadataIndex.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/index/impl/EndpointMetadataIndex.java
index 9b00d90..4c76692 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/index/impl/EndpointMetadataIndex.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/index/impl/EndpointMetadataIndex.java
@@ -43,6 +43,7 @@ import com.google.common.base.MoreObjects;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
+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;
@@ -85,7 +86,8 @@ public class EndpointMetadataIndex implements MetadataIndex {
*
* @param endpointPredicate the predicate which selects which endpoints to index
*/
- public EndpointMetadataIndex(@Nonnull final Predicate<Endpoint> endpointPredicate) {
+ public EndpointMetadataIndex(@Nonnull @ParameterName(name="endpointPredicate")
+ final Predicate<Endpoint> endpointPredicate) {
endpointSelectionPredicate = Constraint.isNotNull(endpointPredicate,
"Endpoint selection predicate may not be null");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list