jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1379948 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
Date Sun, 02 Sep 2012 12:01:09 GMT
Author: pmouawad
Date: Sun Sep  2 12:01:09 2012
New Revision: 1379948

URL: http://svn.apache.org/viewvc?rev=1379948&view=rev
Log:
Revert change

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java?rev=1379948&r1=1379947&r2=1379948&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java Sun
Sep  2 12:01:09 2012
@@ -466,7 +466,8 @@ public class StatGraphVisualizer extends
             }
             return data;
         }
-        return new double[0][0];
+        // API expects null, not empty array
+        return null;
     }
 
     public String[] getAxisLabels() {
@@ -478,7 +479,8 @@ public class StatGraphVisualizer extends
             }
             return labels;
         }
-        return new String[0];
+        // API expects null, not empty array
+        return null;
     }
 
     private String[] getLegendLabels() {



Mime
View raw message