[java-metadata-aggregator] branch main updated: Remove another couple of type-use @Nonnull uses

Ian Young ian at iay.org.uk
Fri Oct 21 17:22:29 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=8292868639c713fefff706f60a02103dbd4e5dff

The following commit(s) were added to refs/heads/main by this push:
     new 8292868  Remove another couple of type-use @Nonnull uses
8292868 is described below

commit 8292868639c713fefff706f60a02103dbd4e5dff
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Oct 21 18:22:27 2022 +0100

    Remove another couple of type-use @Nonnull uses
---
 .../net/shibboleth/metadata/validate/testing/CollectingValidator.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mda-framework/src/test/java/net/shibboleth/metadata/validate/testing/CollectingValidator.java b/mda-framework/src/test/java/net/shibboleth/metadata/validate/testing/CollectingValidator.java
index b799aca..4b04803 100644
--- a/mda-framework/src/test/java/net/shibboleth/metadata/validate/testing/CollectingValidator.java
+++ b/mda-framework/src/test/java/net/shibboleth/metadata/validate/testing/CollectingValidator.java
@@ -40,14 +40,14 @@ import net.shibboleth.utilities.java.support.component.ComponentInitializationEx
 public class CollectingValidator<T> extends BaseValidator implements Validator<T> {
 
     /** Values this validator has seen, in order. */
-    private final @Nonnull List<@Nonnull T> values = new ArrayList<>();
+    private final @Nonnull List<T> values = new ArrayList<>();
     
     /**
      * Return the values recorded by this validator.
      * 
      * @return the values recorded by this validator
      */
-    public @Nonnull List<@Nonnull T> getValues() {
+    public @Nonnull List<T> getValues() {
         return values;
     }
 

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


More information about the commits mailing list