camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1232312 - /camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java
Date Tue, 17 Jan 2012 05:48:30 GMT
Author: davsclaus
Date: Tue Jan 17 05:48:29 2012
New Revision: 1232312

URL: http://svn.apache.org/viewvc?rev=1232312&view=rev
Log:
Fixed CS

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java?rev=1232312&r1=1232311&r2=1232312&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Splitter.java Tue Jan
17 05:48:29 2012
@@ -221,8 +221,9 @@ public class Splitter extends MulticastP
         return expression;
     }
     
-    static private Exchange copyExchangeNoAttachments(Exchange exchange, boolean preserveExchangeId)
{
+    private static Exchange copyExchangeNoAttachments(Exchange exchange, boolean preserveExchangeId)
{
         Exchange answer = ExchangeHelper.createCopy(exchange, preserveExchangeId);
+        // we do not want attachments for the splitted sub-messages
         answer.getIn().setAttachments(null);
         return answer;
     }



Mime
View raw message