geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r641761 - /geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
Date Thu, 27 Mar 2008 10:01:19 GMT
Author: jdillon
Date: Thu Mar 27 03:01:15 2008
New Revision: 641761

URL: http://svn.apache.org/viewvc?rev=641761&view=rev
Log:
No need to cast for rt exception

Modified:
    geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java

Modified: geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java?rev=641761&r1=641760&r2=641761&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
(original)
+++ geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/DefaultCommandExecutor.java
Thu Mar 27 03:01:15 2008
@@ -194,9 +194,6 @@
             // FIXME: Should not throw here, as that will cause the originating stack trace
to be lost
             //
 
-            if (t instanceof RuntimeException) {
-                throw (RuntimeException) t;
-            }
             if (t instanceof Exception) {
                 throw (Exception) t;
             }



Mime
View raw message