[java-opensaml] branch master updated: Tighten annotations.

Scott Cantor cantor.2 at osu.edu
Mon Feb 17 19:57:46 EST 2020


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  6da7e9a   Tighten annotations.
6da7e9a is described below

commit 6da7e9ad5a8ce2a3e6b3b15972b3643618037e7c
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 17 19:57:40 2020 -0500

    Tighten annotations.
---
 .../main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java
index ab6d96d..2c2f5ac 100644
--- a/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java
+++ b/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java
@@ -210,7 +210,7 @@ public class AlgorithmRegistry {
      *
      * @return the set of URIs for the given type, may be empty
      */
-    @Unmodifiable @NonnullElements @NotLive
+    @Nonnull @NonnullElements @Unmodifiable @NotLive
     public Set<String> getRegisteredURIsByType(@Nonnull final AlgorithmType type) {
         Constraint.isNotNull(type, "AlgorithmType was null");
         final Set<String> byType = types.get(type);
@@ -227,7 +227,7 @@ public class AlgorithmRegistry {
      *
      * @return the set of descriptors for the given type, may be empty
      */
-    @Unmodifiable @NonnullElements @NotLive
+    @Nonnull @NonnullElements @Unmodifiable @NotLive
     public Set<AlgorithmDescriptor> getRegisteredByType(@Nonnull final AlgorithmType type) {
         return getRegisteredURIsByType(type).stream()
                 .map(this::get)

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


More information about the commits mailing list