Remove un-thrown exceptions

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1206923 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2011-11-27 23:44:09 +00:00
parent c3a8df4016
commit 0771f14ea4
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ public class Benchmark {
private void rnd( private void rnd(
final HttpServletRequest request, final HttpServletRequest request,
final HttpServletResponse response) throws IOException, ServletException { final HttpServletResponse response) throws IOException {
int count = 100; int count = 100;
String s = request.getParameter("c"); String s = request.getParameter("c");
try { try {
@ -189,7 +189,7 @@ public class Benchmark {
private void echo( private void echo(
final HttpServletRequest request, final HttpServletRequest request,
final HttpServletResponse response) throws IOException, ServletException { final HttpServletResponse response) throws IOException {
ByteArrayOutputStream2 buffer = new ByteArrayOutputStream2(); ByteArrayOutputStream2 buffer = new ByteArrayOutputStream2();
InputStream instream = request.getInputStream(); InputStream instream = request.getInputStream();