mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-19 16:37:06 +00:00
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 void handle(
|
||||
|
||||
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 @@ private void rnd(
|
||||
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user