You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/03/10 08:07:09 UTC
[3/5] camel git commit: Removed unused code after a recent fix in
this file
Removed unused code after a recent fix in this file
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e253b5b2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e253b5b2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e253b5b2
Branch: refs/heads/master
Commit: e253b5b280081e122c179ee8e13d1601f0d207c9
Parents: d411e59
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Mar 10 07:42:20 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu Mar 10 07:42:20 2016 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/camel/model/SplitDefinition.java | 6 ------
1 file changed, 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/e253b5b2/camel-core/src/main/java/org/apache/camel/model/SplitDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/SplitDefinition.java b/camel-core/src/main/java/org/apache/camel/model/SplitDefinition.java
index 5e49de2..70a3389 100644
--- a/camel-core/src/main/java/org/apache/camel/model/SplitDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/SplitDefinition.java
@@ -120,12 +120,6 @@ public class SplitDefinition extends ExpressionNode implements ExecutorServiceAw
Splitter answer = new Splitter(routeContext.getCamelContext(), exp, childProcessor, aggregationStrategy,
isParallelProcessing, threadPool, shutdownThreadPool, isStreaming, isStopOnException(),
timeout, onPrepare, isShareUnitOfWork, isParallelAggregate);
-// if (isShareUnitOfWork) {
- // wrap answer in a sub unit of work, since we share the unit of work
-// CamelInternalProcessor internalProcessor = new CamelInternalProcessor(answer);
-// internalProcessor.addAdvice(new CamelInternalProcessor.SubUnitOfWorkProcessorAdvice());
-// return internalProcessor;
-// }
return answer;
}