jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1379847 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
Date Sat, 01 Sep 2012 21:02:59 GMT
Author: pmouawad
Date: Sat Sep  1 21:02:59 2012
New Revision: 1379847

URL: http://svn.apache.org/viewvc?rev=1379847&view=rev
Log:
method returning arrays should return empty array instead of null

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=1379847&r1=1379846&r2=1379847&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java Sat
Sep  1 21:02:59 2012
@@ -466,7 +466,7 @@ public class StatGraphVisualizer extends
             }
             return data;
         }
-        return null;
+        return new double[0][0];
     }
 
     public String[] getAxisLabels() {
@@ -478,7 +478,7 @@ public class StatGraphVisualizer extends
             }
             return labels;
         }
-        return null;
+        return new String[0];
     }
 
     private String[] getLegendLabels() {



Mime
View raw message