camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] git commit: CAMEL-7751 Fixed the typo of Trace interceptor with thanks to Ramon.
Date Wed, 27 Aug 2014 05:08:28 GMT
CAMEL-7751 Fixed the typo of Trace interceptor with thanks to Ramon.


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

Branch: refs/heads/camel-2.12.x
Commit: 61b17143f3879b7ef2b195f9b4177f18b916d241
Parents: 103bae4
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Aug 27 13:06:19 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Aug 27 13:08:13 2014 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/camel/processor/interceptor/Tracer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/61b17143/camel-core/src/main/java/org/apache/camel/processor/interceptor/Tracer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/processor/interceptor/Tracer.java b/camel-core/src/main/java/org/apache/camel/processor/interceptor/Tracer.java
index 432a572..36d784e 100644
--- a/camel-core/src/main/java/org/apache/camel/processor/interceptor/Tracer.java
+++ b/camel-core/src/main/java/org/apache/camel/processor/interceptor/Tracer.java
@@ -324,7 +324,7 @@ public class Tracer implements InterceptStrategy, Service {
      * Remove the given tracehandler
      */
     public void removeTraceHandler(TraceEventHandler traceHandler) {
-        this.traceHandlers.add(traceHandler);
+        this.traceHandlers.remove(traceHandler);
     }
 
     public String getJpaTraceEventMessageClassName() {


Mime
View raw message