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:
parent
c3a8df4016
commit
0771f14ea4
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue