[java-identity-provider] branch main updated: Skip null help URL.

Scott Cantor cantor.2 at osu.edu
Thu Feb 11 17:28:40 UTC 2021


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=bf6c7f8b71e9c0c85e3a70f33d5cc876f1ffe1a6

The following commit(s) were added to refs/heads/main by this push:
       new  bf6c7f8b7 Skip null help URL.
bf6c7f8b7 is described below

commit bf6c7f8b71e9c0c85e3a70f33d5cc876f1ffe1a6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Feb 11 12:28:36 2021 -0500

    Skip null help URL.
---
 .../main/java/net/shibboleth/idp/module/impl/ModuleManagerCLI.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/idp-admin-impl/src/main/java/net/shibboleth/idp/module/impl/ModuleManagerCLI.java b/idp-admin-impl/src/main/java/net/shibboleth/idp/module/impl/ModuleManagerCLI.java
index c8e609258..489263708 100644
--- a/idp-admin-impl/src/main/java/net/shibboleth/idp/module/impl/ModuleManagerCLI.java
+++ b/idp-admin-impl/src/main/java/net/shibboleth/idp/module/impl/ModuleManagerCLI.java
@@ -142,7 +142,9 @@ public final class ModuleManagerCLI extends AbstractIdPHomeAwareCommandLine<Modu
                     System.out.println("Module: " + module.getId());
                     System.out.println("\tName: " + module.getName(moduleContext));
                     System.out.println("\tDesc: " + module.getDescription(moduleContext));
-                    System.out.println("\tHelp: " + module.getURL());
+                    if (module.getURL() != null) {
+                        System.out.println("\tHelp: " + module.getURL());
+                    }
                     if (module.isEnabled(moduleContext)) {
                         System.out.println("\tStatus: " +
                                 TerminalCodes.GREEN.code(args) + "ENABLED" + TerminalCodes.RESET.code(args));

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


More information about the commits mailing list