hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1206923 - /httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
Date Sun, 27 Nov 2011 23:44:09 GMT
Author: sebb
Date: Sun Nov 27 23:44:09 2011
New Revision: 1206923

URL: http://svn.apache.org/viewvc?rev=1206923&view=rev
Log:
Remove un-thrown exceptions

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

Modified: httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java?rev=1206923&r1=1206922&r2=1206923&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Benchmark.java
Sun Nov 27 23:44:09 2011
@@ -156,7 +156,7 @@ public class Benchmark {
 
        private void rnd(
                final HttpServletRequest request,
-               final HttpServletResponse response) throws IOException, ServletException {
+               final HttpServletResponse response) throws IOException {
            int count = 100;
            String s = request.getParameter("c");
            try {
@@ -189,7 +189,7 @@ public class Benchmark {
 
        private void echo(
                final HttpServletRequest request,
-               final HttpServletResponse response) throws IOException, ServletException {
+               final HttpServletResponse response) throws IOException {
 
            ByteArrayOutputStream2 buffer = new ByteArrayOutputStream2();
            InputStream instream = request.getInputStream();



Mime
View raw message