jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1044306 - /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java
Date Fri, 10 Dec 2010 11:43:54 GMT
Author: sebb
Date: Fri Dec 10 11:43:54 2010
New Revision: 1044306

URL: http://svn.apache.org/viewvc?rev=1044306&view=rev
Log:
Oops - forgot to update the generic version code

Modified:
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java?rev=1044306&r1=1044305&r2=1044306&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java
(original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.java
Fri Dec 10 11:43:54 2010
@@ -127,8 +127,7 @@ public class HttpClientDefaultParameters
                         } else if (type.equals("Boolean")){
                             params.setParameter(name, Boolean.valueOf(value));
                         } else if (type.equals("HttpVersion")){ // Commons HttpClient only
-                            params.setParameter(name, 
-                                    org.apache.commons.httpclient.HttpVersion.parse("HTTP/"+value));
+                            params.setVersion(name, value);
                         } else {
                             log.warn("Unexpected type: "+type+" for name "+name);
                         }



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message