camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-7885 Fixed a CS error of TimerEndpoint
Date Wed, 08 Oct 2014 02:30:36 GMT
Repository: camel
Updated Branches:
  refs/heads/master ccbc6dbff -> a0a1fddd6


CAMEL-7885 Fixed a CS error of TimerEndpoint


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

Branch: refs/heads/master
Commit: a0a1fddd687a5d94192df37fbc9d4710e2daa403
Parents: ccbc6db
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Oct 8 10:29:53 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Oct 8 10:29:53 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/camel/component/timer/TimerEndpoint.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a0a1fddd/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
b/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
index 89c170e..bc8f4da 100644
--- a/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
@@ -63,6 +63,10 @@ public class TimerEndpoint extends DefaultEndpoint implements MultipleConsumersS
         super(uri, component);
         this.timerName = timerName;
     }
+    
+    protected TimerEndpoint(String endpointUri, Component component) {
+        super(endpointUri, component);
+    }
 
     @Override
     public TimerComponent getComponent() {
@@ -192,10 +196,6 @@ public class TimerEndpoint extends DefaultEndpoint implements MultipleConsumersS
         return getStatus().name();
     }
 
-    protected TimerEndpoint(String endpointUri, Component component) {
-        super(endpointUri, component);
-    }
-
     public Timer getTimer(TimerConsumer consumer) {
         if (timer != null) {
             // use custom timer


Mime
View raw message