From: markt Date: Mon, 5 Sep 2011 11:57:05 +0000 (+0000) Subject: Remove unnecessary try/catch that just wraps a simple setter X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3fc1502d1fe148999f666c3af8f1d7abb1a3b27a;p=tomcat7.0 Remove unnecessary try/catch that just wraps a simple setter git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1165248 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/coyote/http11/Http11Processor.java b/java/org/apache/coyote/http11/Http11Processor.java index e19c9df03..1cb445ccd 100644 --- a/java/org/apache/coyote/http11/Http11Processor.java +++ b/java/org/apache/coyote/http11/Http11Processor.java @@ -295,13 +295,7 @@ public class Http11Processor extends AbstractHttp11Processor { if (!isAsync()) endRequest(); - try { - rp.setStage(org.apache.coyote.Constants.STAGE_ENDOUTPUT); - } catch (Throwable t) { - ExceptionUtils.handleThrowable(t); - log.error(sm.getString("http11processor.response.finish"), t); - error = true; - } + rp.setStage(org.apache.coyote.Constants.STAGE_ENDOUTPUT); // If there was an error, make sure the request is counted as // and error, and update the statistics counter