[java-metadata-aggregator] 01/02: Nullability annotations
Ian Young
ian at iay.org.uk
Tue Oct 18 13:26:27 UTC 2022
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch main
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=5ce494f718d8f5d80dd2d790965efa3346752f82
commit 5ce494f718d8f5d80dd2d790965efa3346752f82
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue Oct 18 14:25:17 2022 +0100
Nullability annotations
---
.../src/test/java/net/shibboleth/metadata/pipeline/CountingStage.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/CountingStage.java b/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/CountingStage.java
index 3aab873..afcff26 100644
--- a/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/CountingStage.java
+++ b/mda-framework/src/test/java/net/shibboleth/metadata/pipeline/CountingStage.java
@@ -19,6 +19,8 @@ package net.shibboleth.metadata.pipeline;
import java.util.List;
+import javax.annotation.Nonnull;
+
import net.shibboleth.metadata.Item;
/**
@@ -59,7 +61,7 @@ public class CountingStage<T> extends AbstractStage<T> {
/** {@inheritDoc} */
@Override
- protected void doExecute(final List<Item<T>> metadataCollection) throws StageProcessingException {
+ protected void doExecute(@Nonnull final List<Item<T>> metadataCollection) throws StageProcessingException {
invocationCount += 1;
itemCount += metadataCollection.size();
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list