hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1206739 - /httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java
Date Sun, 27 Nov 2011 15:37:10 GMT
Author: sebb
Date: Sun Nov 27 15:37:09 2011
New Revision: 1206739

URL: http://svn.apache.org/viewvc?rev=1206739&view=rev
Log:
Missing @Override; indicate that param is long

Modified:
    httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java

Modified: httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java?rev=1206739&r1=1206738&r2=1206739&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java
Sun Nov 27 15:37:09 2011
@@ -70,7 +70,7 @@ public class TestJettyHttpClient impleme
             try {
                 this.client.send(exchange);
             } catch (IOException ex) {
-                stats.failure(0);
+                stats.failure(0L);
             }
         }
         stats.waitFor();
@@ -100,6 +100,7 @@ public class TestJettyHttpClient impleme
             this.stats = stats;
         }
 
+        @Override
         protected void onResponseStatus(
                 final Buffer version, int status, final Buffer reason) throws IOException
{
             this.status = status;



Mime
View raw message