[java-shib-metadata] branch main updated: Add missing annotations.

Scott Cantor cantor.2 at osu.edu
Tue Mar 14 23:41:10 UTC 2023


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 63af9066 Add missing annotations.
63af9066 is described below

commit 63af90661a93b2ee5564b23b19778ac18cc804eb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 14 19:41:08 2023 -0400

    Add missing annotations.
---
 .../idp/saml/xmlobject/impl/XMLObjectProviderInitializer.java       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/xmlobject/impl/XMLObjectProviderInitializer.java b/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/xmlobject/impl/XMLObjectProviderInitializer.java
index 833c9b9a..85b69d14 100644
--- a/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/xmlobject/impl/XMLObjectProviderInitializer.java
+++ b/shib-metadata-impl/src/main/java/net/shibboleth/idp/saml/xmlobject/impl/XMLObjectProviderInitializer.java
@@ -17,6 +17,8 @@
 
 package net.shibboleth.idp.saml.xmlobject.impl;
 
+import javax.annotation.Nonnull;
+
 import org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer;
 
 /**
@@ -25,12 +27,12 @@ import org.opensaml.core.xml.config.AbstractXMLObjectProviderInitializer;
 public class XMLObjectProviderInitializer extends AbstractXMLObjectProviderInitializer {
     
     /** Config resources. */
-    private static String[] configs = {
+    @Nonnull private static String[] configs = {
         "/shibboleth-saml-ext-config.xml",
         };
 
     /** {@inheritDoc} */
-    protected String[] getConfigResources() {
+    @Nonnull protected String[] getConfigResources() {
         return configs;
     }
 

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


More information about the commits mailing list