jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1407833 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
Date Sat, 10 Nov 2012 15:25:14 GMT
Author: sebb
Date: Sat Nov 10 15:25:14 2012
New Revision: 1407833

URL: http://svn.apache.org/viewvc?rev=1407833&view=rev
Log:
Use HTTPConstants for method names

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java?rev=1407833&r1=1407832&r2=1407833&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
Sat Nov 10 15:25:14 2012
@@ -107,7 +107,7 @@ public class HTTPSampleResult extends Sa
         // since this might change the conditions under which the request was issued.
         // See Bug 54119
         if ("307".equals(code) && 
-                ("GET".equals(getHTTPMethod()) || "HEAD".equals(getHTTPMethod()))) {
+                (HTTPConstants.GET.equals(getHTTPMethod()) || HTTPConstants.HEAD.equals(getHTTPMethod())))
{
             return true;
         }
         return false;



Mime
View raw message