From c3a8df401657c8515d06b927cdf8d7bfa09ca17d Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sun, 27 Nov 2011 15:37:09 +0000 Subject: [PATCH] Missing @Override; indicate that param is long git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1206739 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/client/benchmark/TestJettyHttpClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java b/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java index cefdc217c..3676ca9a8 100644 --- a/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java +++ b/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/TestJettyHttpClient.java @@ -70,7 +70,7 @@ public class TestJettyHttpClient implements TestHttpAgent { try { this.client.send(exchange); } catch (IOException ex) { - stats.failure(0); + stats.failure(0L); } } stats.waitFor(); @@ -100,6 +100,7 @@ public class TestJettyHttpClient implements TestHttpAgent { this.stats = stats; } + @Override protected void onResponseStatus( final Buffer version, int status, final Buffer reason) throws IOException { this.status = status;