jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1685256 - /jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java
Date Sat, 13 Jun 2015 13:44:23 GMT
Author: pmouawad
Date: Sat Jun 13 13:44:23 2015
New Revision: 1685256

URL: http://svn.apache.org/r1685256
Log:
Bug 57269 - Drop org.apache.jmeter.reports package
Remove broken code
Bugzilla Id: 57269

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java?rev=1685256&r1=1685255&r2=1685256&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/NewDriver.java Sat Jun 13 13:44:23 2015
@@ -253,12 +253,7 @@ public final class NewDriver {
         }
 
         try {
-            Class<?> initialClass;
-            if (args != null && args.length > 0 && args[0].equals("report"))
{// $NON-NLS-1$
-                initialClass = loader.loadClass("org.apache.jmeter.JMeterReport");// $NON-NLS-1$
-            } else {
-                initialClass = loader.loadClass("org.apache.jmeter.JMeter");// $NON-NLS-1$
-            }
+            Class<?> initialClass = loader.loadClass("org.apache.jmeter.JMeter");//
$NON-NLS-1$
             Object instance = initialClass.newInstance();
             Method startup = initialClass.getMethod("start", new Class[] { new String[0].getClass()
});// $NON-NLS-1$
             startup.invoke(instance, new Object[] { args });



Mime
View raw message