jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1329483 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Date Mon, 23 Apr 2012 22:25:21 GMT
Author: sebb
Date: Mon Apr 23 22:25:20 2012
New Revision: 1329483

URL: http://svn.apache.org/viewvc?rev=1329483&view=rev
Log:
Unnecessary cast

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java?rev=1329483&r1=1329482&r2=1329483&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Mon Apr 23 22:25:20 2012
@@ -1056,8 +1056,7 @@ public class HTTPHC4Impl extends HTTPHCA
             if(hasContentTypeHeader) {
                 contentTypeValue = put.getFirstHeader(HEADER_CONTENT_TYPE).getValue();
             }
-            StringEntity requestEntity = new StringEntity(putBodyContent.toString(), contentTypeValue,

-                    (String) charset);
+            StringEntity requestEntity = new StringEntity(putBodyContent.toString(), contentTypeValue,
charset);
             put.setEntity(requestEntity);
         }
         // Check if we have any content to send for body



Mime
View raw message