servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tt...@apache.org
Subject svn commit: r581870 - /incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java
Date Thu, 04 Oct 2007 12:13:02 GMT
Author: tterm
Date: Thu Oct  4 05:13:02 2007
New Revision: 581870

URL: http://svn.apache.org/viewvc?rev=581870&view=rev
Log:
fixed wrong codestyle for if statement

Modified:
    incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java

Modified: incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java?rev=581870&r1=581869&r2=581870&view=diff
==============================================================================
--- incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java
(original)
+++ incubator/servicemix/branches/servicemix-3.1/deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java
Thu Oct  4 05:13:02 2007
@@ -141,8 +141,7 @@
         }
         RequestEntity entity = writeMessage(writer);
         // remove content-type header that may have been part of the in message
-        if (!getConfiguration().isWantContentTypeHeaderFromExchangeIntoHttpRequest())
-        {
+        if (!getConfiguration().isWantContentTypeHeaderFromExchangeIntoHttpRequest()) {
             method.removeRequestHeader(Constants.HEADER_CONTENT_TYPE);
             method.addRequestHeader(Constants.HEADER_CONTENT_TYPE, entity.getContentType());
         }



Mime
View raw message