jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1459914 - /jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java
Date Fri, 22 Mar 2013 17:55:40 GMT
Author: sebb
Date: Fri Mar 22 17:55:40 2013
New Revision: 1459914

URL: http://svn.apache.org/r1459914
Log:
No need to create a Double here

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

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java?rev=1459914&r1=1459913&r2=1459914&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java Fri
Mar 22 17:55:40 2013
@@ -323,7 +323,7 @@ public class RespTimeGraphChart extends 
             // Y Axis ruler
             try {
                 double numInterval = _height / 50; // ~a tic every 50 px
-                double incrYAxis = new Double(max / numInterval);
+                double incrYAxis = max / numInterval;
                 double incrTopValue = _incrScaleYAxis;
                 if (_incrScaleYAxis == 0) {
                     incrTopValue = getTopValue(incrYAxis, BigDecimal.ROUND_HALF_UP);



Mime
View raw message