geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r416974 - /geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java
Date Sun, 25 Jun 2006 01:45:13 GMT
Author: jdillon
Date: Sat Jun 24 18:45:12 2006
New Revision: 416974

URL: http://svn.apache.org/viewvc?rev=416974&view=rev
Log:
Simplify

Modified:
    geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java

Modified: geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java?rev=416974&r1=416973&r2=416974&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java
Sat Jun 24 18:45:12 2006
@@ -68,15 +68,6 @@
     protected int doExecute(String[] args) throws Exception {
         assert args != null;
 
-        exit(exitCode);
-
-        // Should never get this far
-        assert false;
-
-        return Command.FAILURE;
-    }
-
-    private void exit(final int exitCode) {
         log.info("Exiting w/code: " + exitCode);
 
         //



Mime
View raw message