[java-shib-attribute] 02/04: IDP-2069 Null Handling Task
Rod Widdowson
rdw at steadingsoftware.com
Sat Apr 29 10:36:39 UTC 2023
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-shib-attribute.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=3542ce089b7e2780ee3a5b7670a42d244c19e3dd
commit 3542ce089b7e2780ee3a5b7670a42d244c19e3dd
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Apr 29 11:19:18 2023 +0100
IDP-2069 Null Handling Task
https://shibboleth.atlassian.net/browse/IDP-2069
Add a missed annotation.
---
.../java/net/shibboleth/idp/attribute/ScopedStringAttributeValue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/ScopedStringAttributeValue.java b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/ScopedStringAttributeValue.java
index 188ff9074..4d0c9b71b 100644
--- a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/ScopedStringAttributeValue.java
+++ b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/ScopedStringAttributeValue.java
@@ -106,7 +106,7 @@ public final class ScopedStringAttributeValue extends StringAttributeValue {
* @param scope of the value
* @return {@link EmptyAttributeValue} or {@link ScopedStringAttributeValue}
*/
- public static IdPAttributeValue valueOf(@Nullable final String value, @Nonnull @NotEmpty final String scope) {
+ @Nonnull public static IdPAttributeValue valueOf(@Nullable final String value, @Nonnull @NotEmpty final String scope) {
if (value == null) {
return EmptyAttributeValue.NULL;
} else if (value.length() == 0) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list