jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381369 - /jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java
Date Wed, 05 Sep 2012 21:12:35 GMT
Author: pmouawad
Date: Wed Sep  5 21:12:35 2012
New Revision: 1381369

URL: http://svn.apache.org/viewvc?rev=1381369&view=rev
Log:
Remove useless code

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java?rev=1381369&r1=1381368&r2=1381369&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/gui/RateRenderer.java Wed Sep  5 21:12:35
2012
@@ -40,7 +40,7 @@ public class RateRenderer extends Number
 
     @Override
     public void setValue(Object value) {
-        if (value == null || ! (value instanceof Double)) {
+        if (!(value instanceof Double)) {
             setText("#N/A"); // TODO: should this just call super()?
             return;
         }



Mime
View raw message