You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2014/08/27 07:06:32 UTC

git commit: CAMEL-7751 Fixed the typo of Trace interceptor with thanks to Ramon.

Repository: camel
Updated Branches:
  refs/heads/master 35bde2b29 -> 02973683e


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/02973683
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/02973683
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/02973683

Branch: refs/heads/master
Commit: 02973683eea2a9d61dc19c5d0f56ee4abfac9835
Parents: 35bde2b
Author: Willem Jiang <wi...@gmail.com>
Authored: Wed Aug 27 13:06:19 2014 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Wed Aug 27 13:06:19 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/02973683/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() {