[java-opensaml] branch main updated: Remove some extra annotations in tests.

Scott Cantor cantor.2 at osu.edu
Wed Oct 18 18:03:35 UTC 2023


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

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=9e59506e204b5b2581a802f05b5eafbe549b8a96

The following commit(s) were added to refs/heads/main by this push:
     new 9e59506e2 Remove some extra annotations in tests.
9e59506e2 is described below

commit 9e59506e204b5b2581a802f05b5eafbe549b8a96
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Oct 18 14:03:31 2023 -0400

    Remove some extra annotations in tests.
---
 .../main/java/org/opensaml/core/testing/XMLObjectBaseTestCase.java   | 2 +-
 .../main/java/org/opensaml/storage/testing/StorageServiceTest.java   | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opensaml-testing/src/main/java/org/opensaml/core/testing/XMLObjectBaseTestCase.java b/opensaml-testing/src/main/java/org/opensaml/core/testing/XMLObjectBaseTestCase.java
index c7c78ffc0..9c7d320f6 100644
--- a/opensaml-testing/src/main/java/org/opensaml/core/testing/XMLObjectBaseTestCase.java
+++ b/opensaml-testing/src/main/java/org/opensaml/core/testing/XMLObjectBaseTestCase.java
@@ -56,7 +56,7 @@ import net.shibboleth.shared.xml.XMLParserException;
 public abstract class XMLObjectBaseTestCase extends OpenSAMLInitBaseTestCase {
 
     /** Parser pool. */
-    @Nullable protected static ParserPool parserPool;
+    protected static ParserPool parserPool;
 
     /** XMLObject builder factory. */
     protected static XMLObjectBuilderFactory builderFactory;
diff --git a/opensaml-testing/src/main/java/org/opensaml/storage/testing/StorageServiceTest.java b/opensaml-testing/src/main/java/org/opensaml/storage/testing/StorageServiceTest.java
index ee222e7ff..e76cf04f4 100644
--- a/opensaml-testing/src/main/java/org/opensaml/storage/testing/StorageServiceTest.java
+++ b/opensaml-testing/src/main/java/org/opensaml/storage/testing/StorageServiceTest.java
@@ -23,7 +23,6 @@ import java.util.ArrayList;
 import java.util.List;
 
 import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
 
 import org.opensaml.storage.EnumeratableStorageService;
 import org.opensaml.storage.StorageRecord;
@@ -49,10 +48,10 @@ import net.shibboleth.shared.component.InitializableComponent;
 public abstract class StorageServiceTest {
     
     /** Random source. */
-    @Nullable protected SecureRandom random;
+    protected SecureRandom random;
     
     /** Service being tested. */
-    @Nullable protected EnumeratableStorageService shared;
+    protected EnumeratableStorageService shared;
 
     /**
      * Returns a fresh service instance to test.

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


More information about the commits mailing list