You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/06/25 03:45:13 UTC
svn commit: r416974 -
/geronimo/sandbox/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/builtins/ExitCommand.java
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);
//