You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by he...@apache.org on 2013/06/05 15:30:22 UTC

git commit: [Spring Batch] Narrowed endpoint type in producer constructor.

Updated Branches:
  refs/heads/master e5b9fd21c -> 1fb6387c1


[Spring Batch] Narrowed endpoint type in producer constructor.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1fb6387c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1fb6387c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1fb6387c

Branch: refs/heads/master
Commit: 1fb6387c17063819f0fef1706a2fca91da9240ee
Parents: e5b9fd2
Author: Henryk Konsek <he...@gmail.com>
Authored: Wed Jun 5 15:30:08 2013 +0200
Committer: Henryk Konsek <he...@gmail.com>
Committed: Wed Jun 5 15:30:08 2013 +0200

----------------------------------------------------------------------
 .../spring/batch/SpringBatchProducer.java          |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1fb6387c/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/SpringBatchProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/SpringBatchProducer.java b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/SpringBatchProducer.java
index 970e4c6..561fcf4 100644
--- a/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/SpringBatchProducer.java
+++ b/components/camel-spring-batch/src/main/java/org/apache/camel/component/spring/batch/SpringBatchProducer.java
@@ -19,7 +19,6 @@ package org.apache.camel.component.spring.batch;
 import java.util.Date;
 import java.util.Map;
 
-import org.apache.camel.Endpoint;
 import org.apache.camel.Exchange;
 import org.apache.camel.impl.DefaultProducer;
 import org.springframework.batch.core.Job;
@@ -37,7 +36,7 @@ public class SpringBatchProducer extends DefaultProducer {
 
     private final Job job;
 
-    public SpringBatchProducer(Endpoint endpoint, JobLauncher jobLauncher, Job job) {
+    public SpringBatchProducer(SpringBatchEndpoint endpoint, JobLauncher jobLauncher, Job job) {
         super(endpoint);
         this.job = job;
         this.jobLauncher = jobLauncher;