jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1066902 - in /jakarta/jmeter/trunk: src/core/org/apache/jmeter/util/BeanShellClient.java test/src/org/apache/jorphan/test/AllTests.java
Date Thu, 03 Feb 2011 18:12:46 GMT
Author: sebb
Date: Thu Feb  3 18:12:45 2011
New Revision: 1066902

URL: http://svn.apache.org/viewvc?rev=1066902&view=rev
Log:
Unnecessary calls to System.exit()

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java
    jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java?rev=1066902&r1=1066901&r2=1066902&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java Thu Feb  3 18:12:45
2011
@@ -39,7 +39,7 @@ public class BeanShellClient {
             System.out.println("serverhost serverport filename [arg1 arg2 ...]");
             System.out.println("e.g. ");
             System.out.println("localhost 9000 extras/remote.bsh apple blake 7");
-            System.exit(1);
+            return;
         }
         String host=args[0];
         String portString = args[1];

Modified: jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java?rev=1066902&r1=1066901&r2=1066902&view=diff
==============================================================================
--- jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java (original)
+++ jakarta/jmeter/trunk/test/src/org/apache/jorphan/test/AllTests.java Thu Feb  3 18:12:45
2011
@@ -130,7 +130,7 @@ public final class AllTests {
     public static void main(String[] args) {
         if (args.length < 1) {
             System.out.println("You must specify a comma-delimited list of paths to search
" + "for unit tests");
-            System.exit(1);
+            return;
         }
         String home=new File(System.getProperty("user.dir")).getParent();
         System.out.println("Setting JMeterHome: "+home);



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message