jmeter-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1379957&view=rev
Log:
Document when api expects null instead of empty array

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

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java?rev=1379957&r1=1379956&r2=1379957&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java Sun Sep  2 12:17:27
2012
@@ -112,6 +112,10 @@ public class AxisGraph extends JPanel {
         super(layout, isDoubleBuffered);
     }
 
+    /**
+     * Expects null array when no data  not empty array
+     * @param data
+     */
     public void setData(double[][] data) {
         this.data = data;
     }
@@ -132,6 +136,10 @@ public class AxisGraph extends JPanel {
         this.yAxisTitle = title;
     }
 
+    /**
+     * Expects null array when no labels not empty array
+     * @param labels
+     */
     public void setXAxisLabels(String[] labels) {
         this.xAxisLabels = labels;
     }



Mime
View raw message