This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new eabad95  CAMEL-14029: Polished
eabad95 is described below

commit eabad95a0af9b760fa1ffc7161a8c1bd2a0dd2cb
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Oct 22 08:21:02 2019 +0200

    CAMEL-14029: Polished
---
 .../src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
index 7eb8e2d..80ccfc0 100644
--- 
a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
+++ 
b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java
@@ -386,7 +386,6 @@ public class DefaultHttpBinding implements HttpBinding {
 
     @Override
     public void doWriteFaultResponse(Message message, HttpServletResponse 
response, Exchange exchange) throws IOException {
-        //message.setHeader(Exchange.HTTP_RESPONSE_CODE, 
HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
         doWriteResponse(message, response, exchange);
     }
 

Reply via email to