You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/08/25 14:04:07 UTC

[camel] branch master updated: CAMEL-13907: Lets clear bean introspection cache after bootstrap of Camel as the cache was used during initialization.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 22fbabd  CAMEL-13907: Lets clear bean introspection cache after bootstrap of Camel as the cache was used during initialization.
22fbabd is described below

commit 22fbabd6beb6b4bb3df1fb76858d9b45965b68ef
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Aug 25 16:03:51 2019 +0200

    CAMEL-13907: Lets clear bean introspection cache after bootstrap of Camel as the cache was used during initialization.
---
 .../java/org/apache/camel/impl/engine/DefaultBeanIntrospection.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultBeanIntrospection.java b/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultBeanIntrospection.java
index 383e654..8a647f7 100644
--- a/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultBeanIntrospection.java
+++ b/core/camel-base/src/main/java/org/apache/camel/impl/engine/DefaultBeanIntrospection.java
@@ -78,11 +78,11 @@ public class DefaultBeanIntrospection extends ServiceSupport implements BeanIntr
             obj = Arrays.asList(args);
         }
         if (target == null) {
-            logger.log("Invoked: " + invoked.get() + " times (overall) [Method: " + method + " ]");
+            logger.log("Invoked: " + invoked.get() + " times (overall) [Method: " + method + "]");
         } else if (args == null) {
             logger.log("Invoked: " + invoked.get() + " times (overall) [Method: " + method + ", Target: " + target + "]");
         } else {
-            logger.log("Invoked: " + invoked.get() + " times (overall) [Method: " + method + ", Target: " + target + ", Arguments: " + obj + " ]");
+            logger.log("Invoked: " + invoked.get() + " times (overall) [Method: " + method + ", Target: " + target + ", Arguments: " + obj + "]");
         }
     }