[java-metadata-aggregator] 01/02: Correct annotation of buildKeyInfo method

Ian Young ian at iay.org.uk
Thu Sep 26 12:46:43 EDT 2019


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=ec1edb7034968f1e126db60929ae8d756882ab96

commit ec1edb7034968f1e126db60929ae8d756882ab96
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Sep 26 17:35:33 2019 +0100

    Correct annotation of buildKeyInfo method
---
 .../main/java/net/shibboleth/metadata/dom/XMLSignatureSigningStage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/XMLSignatureSigningStage.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/XMLSignatureSigningStage.java
index cd5a7dc..52d2fd5 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/XMLSignatureSigningStage.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/XMLSignatureSigningStage.java
@@ -865,7 +865,7 @@ public class XMLSignatureSigningStage extends AbstractIteratingStage<Element> {
      * 
      * @throws StageProcessingException thrown if there is a problem creating the KeyInfo descriptor
      */
-    @Nonnull protected KeyInfo buildKeyInfo() throws StageProcessingException {
+    @Nullable protected KeyInfo buildKeyInfo() throws StageProcessingException {
         final List<XMLStructure> keyInfoItems = new ArrayList<>();
 
         addKeyNames(keyInfoItems);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list