You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/05/07 21:26:26 UTC
svn commit: r1335209 -
/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
Author: pmouawad
Date: Mon May 7 19:26:26 2012
New Revision: 1335209
URL: http://svn.apache.org/viewvc?rev=1335209&view=rev
Log:
Fix findbugs warning on new Boolean
Modified:
jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
Modified: jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java?rev=1335209&r1=1335208&r2=1335209&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java (original)
+++ jmeter/trunk/src/protocol/native/org/apache/jmeter/protocol/system/SystemSampler.java Mon May 7 19:26:26 2012
@@ -68,6 +68,8 @@ public class SystemSampler extends Abstr
Arrays.asList(new String[]{
"org.apache.jmeter.config.gui.SimpleConfigGui"}));
+ public static final int DEFAULT_RETURN_CODE = 0;
+
/**
* Create a SystemSampler.
@@ -241,7 +243,7 @@ public class SystemSampler extends Abstr
* @param checkit boolean indicates if we check or not return code
*/
public void setCheckReturnCode(boolean checkit) {
- setProperty(CHECK_RETURN_CODE, (new Boolean(checkit)).toString());
+ setProperty(CHECK_RETURN_CODE, checkit);
}
/**