[java-shib-metadata] branch main updated: Add annotations.
Scott Cantor
cantor.2 at osu.edu
Mon Nov 21 19:20:53 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-metadata.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-metadata.git;a=commit;h=e4b7a0b19a8b211ed16634c25caa4148641bd993
The following commit(s) were added to refs/heads/main by this push:
new e4b7a0b1 Add annotations.
e4b7a0b1 is described below
commit e4b7a0b19a8b211ed16634c25caa4148641bd993
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 21 14:20:51 2022 -0500
Add annotations.
---
.../main/java/net/shibboleth/idp/saml/xmlobject/ScopedValue.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/shib-metadata-api/src/main/java/net/shibboleth/idp/saml/xmlobject/ScopedValue.java b/shib-metadata-api/src/main/java/net/shibboleth/idp/saml/xmlobject/ScopedValue.java
index 9cc00af3..e364efb2 100644
--- a/shib-metadata-api/src/main/java/net/shibboleth/idp/saml/xmlobject/ScopedValue.java
+++ b/shib-metadata-api/src/main/java/net/shibboleth/idp/saml/xmlobject/ScopedValue.java
@@ -17,20 +17,23 @@
package net.shibboleth.idp.saml.xmlobject;
+import javax.annotation.Nonnull;
import javax.xml.namespace.QName;
import org.opensaml.saml.common.SAMLObject;
+import net.shibboleth.shared.annotation.constraint.NotEmpty;
+
/** XMLObject that represents a SAML attribute value whose value contains a scope attribute. */
public interface ScopedValue extends SAMLObject {
/** Local name of the XSI type. */
- public static final String TYPE_LOCAL_NAME = "ScopedValue";
+ @Nonnull @NotEmpty public static final String TYPE_LOCAL_NAME = "ScopedValue";
/** QName of the XSI type. */
// TODO fix these with constants when available
- public static final QName TYPE_NAME = new QName("urn:mace:shibboleth:2.0:attribute:encoder", TYPE_LOCAL_NAME,
- "encoder");
+ @Nonnull public static final QName TYPE_NAME =
+ new QName("urn:mace:shibboleth:2.0:attribute:encoder", TYPE_LOCAL_NAME, "encoder");
/**
* Gets the name of the scope attribute.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list