[xmlsectool] 01/02: Turn a couple of unnecessary System.exit calls into returns.

Ian Young ian at iay.org.uk
Sat May 14 12:07:35 EDT 2016


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

iay pushed a commit to branch master
in repository xmlsectool.

commit 42268ff09644ecbd4cf84cc65847346334114ec5
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Sat May 14 14:32:21 2016 +0100

    Turn a couple of unnecessary System.exit calls into returns.
---
 src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java b/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java
index 8878fc2..4e4cec1 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java
@@ -144,7 +144,7 @@ public final class XmlSecTool {
 
         if (cli.doHelp()) {
             cli.printHelp(System.out);
-            System.exit(RC_OK);
+            return;
         }
         
         if (cli.doListBlacklist()) {
@@ -166,7 +166,7 @@ public final class XmlSecTool {
                 }
             }
             System.out.println();
-            System.exit(RC_OK);
+            return;
         }
 
         initLogging(cli);

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


More information about the commits mailing list