[java-shib-attribute] branch main updated: JSSH-27 Implement an ensureId method to help with nullability annotation
Rod Widdowson
rdw at steadingsoftware.com
Thu May 25 16:18:32 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=a25db567cf695325bdcae814dbf881bb05c50a28
The following commit(s) were added to refs/heads/main by this push:
new a25db567c JSSH-27 Implement an ensureId method to help with nullability annotation
a25db567c is described below
commit a25db567cf695325bdcae814dbf881bb05c50a28
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu May 25 17:18:17 2023 +0100
JSSH-27 Implement an ensureId method to help with nullability annotation
https://shibboleth.atlassian.net/browse/JSSH-27
Change one getId to ensureId
---
.../idp/attribute/resolver/ad/impl/ScriptedAttributeDefinition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeDefinition.java b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeDefinition.java
index bc762c8f1..853bc6413 100644
--- a/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeDefinition.java
+++ b/shib-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/ad/impl/ScriptedAttributeDefinition.java
@@ -227,7 +227,7 @@ public class ScriptedAttributeDefinition extends AbstractAttributeDefinition {
} else {
log.debug("{} Adding to-be-populated attribute to script context", getLogPrefix());
final IdPAttribute newAttribute = new IdPAttribute(ensureId());
- scriptContext.setAttribute(getId(), new ScriptedIdPAttributeImpl(newAttribute, getLogPrefix()),
+ scriptContext.setAttribute(ensureId(), new ScriptedIdPAttributeImpl(newAttribute, getLogPrefix()),
ScriptContext.ENGINE_SCOPE);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list