FAQ
CAMEL-10048: Fixed memory leak in routing slip. Thanks to Arseniy Tashoyan for the patch.


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

Branch: refs/heads/camel-2.17.x
Commit: df2a31a4b1f45efd989bbf23bad581039e34d815
Parents: 900cf69
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun Jun 12 14:22:54 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Jun 12 14:22:54 2016 +0200

----------------------------------------------------------------------
  .../apache/camel/util/AsyncProcessorConverterHelper.java | 10 +++++++++-
  1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/df2a31a4/camel-core/src/main/java/org/apache/camel/util/AsyncProcessorConverterHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/AsyncProcessorConverterHelper.java b/camel-core/src/main/java/org/apache/camel/util/AsyncProcessorConverterHelper.java
index 6b1862e..14319ed 100644
--- a/camel-core/src/main/java/org/apache/camel/util/AsyncProcessorConverterHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/AsyncProcessorConverterHelper.java
@@ -123,13 +123,21 @@ public final class AsyncProcessorConverterHelper {
                  return false;
              }

+ if (processor == null) {
+ return false;
+ }
+
              ProcessorToAsyncProcessorBridge that = (ProcessorToAsyncProcessorBridge) o;
              return processor.equals(that.processor);
          }

          @Override
          public int hashCode() {
- return processor.hashCode();
+ if (processor != null) {
+ return processor.hashCode();
+ } else {
+ return 0;
+ }
          }
      }

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupcommits @
categoriescamel
postedJun 12, '16 at 12:23p
activeJun 12, '16 at 12:23p
posts3
users1
websitecamel.apache.org

1 user in discussion

Davsclaus: 3 posts

People

Translate

site design / logo © 2017 Grokbase