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 2019/07/31 03:53:33 UTC
[camel] branch master updated: Removed unusued code
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 f1742b6 Removed unusued code
f1742b6 is described below
commit f1742b636b973300244ee1d5e20fe87c210f7b4c
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jul 31 05:52:50 2019 +0200
Removed unusued code
---
.../src/main/java/org/apache/camel/model/InterceptDefinition.java | 8 --------
1 file changed, 8 deletions(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/model/InterceptDefinition.java b/core/camel-core/src/main/java/org/apache/camel/model/InterceptDefinition.java
index dd3c8d4..e52ca13 100644
--- a/core/camel-core/src/main/java/org/apache/camel/model/InterceptDefinition.java
+++ b/core/camel-core/src/main/java/org/apache/camel/model/InterceptDefinition.java
@@ -111,12 +111,4 @@ public class InterceptDefinition extends OutputDefinition<InterceptDefinition> {
return intercepted;
}
- public Processor getInterceptedProcessor(int index) {
- // avoid out of bounds
- if (index <= intercepted.size() - 1) {
- return intercepted.get(index);
- } else {
- return null;
- }
- }
}
\ No newline at end of file