[java-opensaml] branch master updated: Add some constructor argument annotations.
Scott Cantor
cantor.2 at osu.edu
Wed Sep 19 17:59:36 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor 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=4906245c4c33a9143d9fe15aba774894e178fae8
The following commit(s) were added to refs/heads/master by this push:
new 4906245 Add some constructor argument annotations.
4906245 is described below
commit 4906245c4c33a9143d9fe15aba774894e178fae8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Sep 19 17:59:34 2018 -0400
Add some constructor argument annotations.
---
.../saml/common/profile/logic/EntityAttributesPredicate.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/logic/EntityAttributesPredicate.java b/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/logic/EntityAttributesPredicate.java
index 56dec4d..fd60536 100644
--- a/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/logic/EntityAttributesPredicate.java
+++ b/opensaml-saml-api/src/main/java/org/opensaml/saml/common/profile/logic/EntityAttributesPredicate.java
@@ -226,7 +226,7 @@ public class EntityAttributesPredicate implements Predicate<EntityDescriptor> {
*
* @param name Attribute Name to match
*/
- public Candidate(@Nonnull @NotEmpty final String name) {
+ public Candidate(@Nonnull @NotEmpty @ParameterName(name="name") final String name) {
nam = Constraint.isNotNull(StringSupport.trimOrNull(name), "Attribute Name cannot be null or empty");
nameFormat = null;
@@ -240,7 +240,8 @@ public class EntityAttributesPredicate implements Predicate<EntityDescriptor> {
* @param name Attribute Name to match
* @param format Attribute NameFormat to match
*/
- public Candidate(@Nonnull @NotEmpty final String name, @Nullable final String format) {
+ public Candidate(@Nonnull @NotEmpty @ParameterName(name="name") final String name,
+ @Nullable @ParameterName(name="format") final String format) {
nam = Constraint.isNotNull(StringSupport.trimOrNull(name), "Attribute Name cannot be null or empty");
if (Attribute.UNSPECIFIED.equals(format)) {
nameFormat = null;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list