jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1727998 - in /jmeter/trunk/src: monitor/components/org/apache/jmeter/visualizers/ protocol/http/org/apache/jmeter/protocol/http/proxy/ protocol/http/org/apache/jmeter/protocol/http/util/accesslog/ protocol/java/org/apache/jmeter/protocol/j...
Date Mon, 01 Feb 2016 20:25:23 GMT
Author: pmouawad
Date: Mon Feb  1 20:25:22 2016
New Revision: 1727998

URL: http://svn.apache.org/viewvc?rev=1727998&view=rev
Log:
remove commented code (patch by Benoit Wiart)
#resolve #97

Modified:
    jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.java
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java

Modified: jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java?rev=1727998&r1=1727997&r2=1727998&view=diff
==============================================================================
--- jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java (original)
+++ jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java Mon
Feb  1 20:25:22 2016
@@ -84,8 +84,6 @@ public class ServerPanel extends JPanel
 
     private static final ImageIcon LOAD_10 = JMeterUtils.getImage("monitor-load-10.gif");
 
-    // private MonitorModel DATA;
-
     /**
      * Creates a new server panel for a monitored server
      *
@@ -94,7 +92,6 @@ public class ServerPanel extends JPanel
      */
     public ServerPanel(MonitorModel model) {
         super();
-        // DATA = model;
         init(model);
     }
 
@@ -192,8 +189,6 @@ public class ServerPanel extends JPanel
      */
     @Override
     public void updateGui(MonitorModel stat) {
-        // this.DATA = null;
-        // this.DATA = stat;
         loadIcon.setIcon(getLoadImageIcon(stat.getLoad()));
         healthIcon.setIcon(getHealthyImageIcon(stat.getHealth()));
         timestampField.setText(stat.getTimestampString());

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java?rev=1727998&r1=1727997&r2=1727998&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
Mon Feb  1 20:25:22 2016
@@ -390,24 +390,6 @@ public class HttpRequestHdr {
         return "";// $NON-NLS-1$
     }
 
-//    /**
-//     * Returns the remainder of a tokenized string.
-//     *
-//     * @param tk
-//     *            String that is partially tokenized.
-//     * @return The remainder
-//     */
-//    private String getRemainder(StringTokenizer tk) {
-//        StringBuilder strBuff = new StringBuilder();
-//        if (tk.hasMoreTokens()) {
-//            strBuff.append(tk.nextToken());
-//        }
-//        while (tk.hasMoreTokens()) {
-//            strBuff.append(" "); // $NON-NLS-1$
-//            strBuff.append(tk.nextToken());
-//        }
-//        return strBuff.toString();
-//    }
 
     public String getUrlWithoutQuery(URL _url) {
         String fullUrl = _url.toString();

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java?rev=1727998&r1=1727997&r2=1727998&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.java
Mon Feb  1 20:25:22 2016
@@ -95,9 +95,6 @@ public class SharedTCLogParser extends T
             }
             if (line == null) {
                 breader.closeFile(FILENAME);
-                // this.READER = new BufferedReader(new
-                // FileReader(this.SOURCE));
-                // parse(this.READER,el);
             }
         } catch (IOException ioe) {
             log.error("Error reading log file", ioe);

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.java?rev=1727998&r1=1727997&r2=1727998&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.java
Mon Feb  1 20:25:22 2016
@@ -68,10 +68,6 @@ public class StandardGenerator implement
 
     protected File FILE = null;
 
-    // NOT USED transient protected ThreadGroup THREADGROUP = null;
-    // Anyway, was this supposed to be the class from java.lang, or
-    // jmeter.threads?
-
     /**
      * The constructor is used by GUI and samplers to generate request objects.
      */

Modified: jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java?rev=1727998&r1=1727997&r2=1727998&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
(original)
+++ jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java
Mon Feb  1 20:25:22 2016
@@ -84,11 +84,6 @@ public class BSFSampler extends BSFTestE
             initManager(mgr);
             mgr.declareBean("SampleResult", res, res.getClass()); // $NON-NLS-1$
 
-            // These are not useful yet, as have not found how to get updated values back
-            //mgr.declareBean("ResponseCode", "200", String.class); // $NON-NLS-1$
-            //mgr.declareBean("ResponseMessage", "OK", String.class); // $NON-NLS-1$
-            //mgr.declareBean("IsSuccess", Boolean.TRUE, Boolean.class); // $NON-NLS-1$
-
             // N.B. some engines (e.g. Javascript) cannot handle certain declareBean() calls
             // after the engine has been initialised, so create the engine last
             bsfEngine = mgr.loadScriptingEngine(getScriptLanguage());



Mime
View raw message