Author: sebb
Date: Mon Mar 21 23:45:05 2011
New Revision: 1084025
URL: http://svn.apache.org/viewvc?rev=1084025&view=rev
Log:
Add defaults to the setter/getter for ConcurrentDwn
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=1084025&r1=1084024&r2=1084025&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
Mon Mar 21 23:45:05 2011
@@ -1638,11 +1638,11 @@ public abstract class HTTPSamplerBase ex
* @return true if used
*/
public boolean isConcurrentDwn() {
- return getPropertyAsBoolean(CONCURRENT_DWN);
+ return getPropertyAsBoolean(CONCURRENT_DWN, false);
}
public void setConcurrentDwn(boolean concurrentDwn) {
- setProperty(new BooleanProperty(CONCURRENT_DWN, concurrentDwn));
+ setProperty(CONCURRENT_DWN, concurrentDwn, false);
}
/**
* Get the pool size for concurrent thread pool to get embedded resources.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]