You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/12/07 04:26:58 UTC

svn commit: r1042902 - /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java

Author: sebb
Date: Tue Dec  7 03:26:57 2010
New Revision: 1042902

URL: http://svn.apache.org/viewvc?rev=1042902&view=rev
Log:
Simplify

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

Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java?rev=1042902&r1=1042901&r2=1042902&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java Tue Dec  7 03:26:57 2010
@@ -836,8 +836,7 @@ public class HTTPHC3Impl extends HTTPHCA
             res.setResponseMessage(httpMethod.getStatusText());
 
             String ct = null;
-            org.apache.commons.httpclient.Header h
-                = httpMethod.getResponseHeader(HEADER_CONTENT_TYPE);
+            Header h = httpMethod.getResponseHeader(HEADER_CONTENT_TYPE);
             if (h != null)// Can be missing, e.g. on redirect
             {
                 ct = h.getValue();



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