camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [camel] branch master updated: Fix syntax of some log with placeholder statements.
Date Tue, 11 Sep 2018 21:35:18 GMT
This is an automated email from the ASF dual-hosted git repository.

pascalschumacher 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 a126746  Fix syntax of some log with placeholder statements.
a126746 is described below

commit a126746f4e28d2361184bd948895ab00e1be1617
Author: Pascal Schumacher <pascalschumacher@gmx.net>
AuthorDate: Tue Sep 11 23:35:01 2018 +0200

    Fix syntax of some log with placeholder statements.
---
 .../component/braintree/TransactionGatewayIntegrationTest.java      | 6 +++---
 .../src/main/java/org/apache/camel/component/mail/MailConsumer.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/TransactionGatewayIntegrationTest.java
b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/TransactionGatewayIntegrationTest.java
index 5c7ee03..4756b87 100644
--- a/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/TransactionGatewayIntegrationTest.java
+++ b/components/camel-braintree/src/test/java/org/apache/camel/component/braintree/TransactionGatewayIntegrationTest.java
@@ -192,7 +192,7 @@ public class TransactionGatewayIntegrationTest extends AbstractBraintreeTestSupp
             Result.class);
 
         assertNotNull("Submit For Settlement result", result);
-        LOG.debug("Transaction submitted for settlement - id={}" + result.getTarget().getId());
+        LOG.debug("Transaction submitted for settlement - id={}", result.getTarget().getId());
     }
 
     @Test
@@ -225,7 +225,7 @@ public class TransactionGatewayIntegrationTest extends AbstractBraintreeTestSupp
             Result.class);
 
         assertNotNull("Submit For Settlement result", result);
-        LOG.debug("Transaction submitted for settlement - id={}" + result.getTarget().getId());
+        LOG.debug("Transaction submitted for settlement - id={}", result.getTarget().getId());
     }
 
     @Test
@@ -259,7 +259,7 @@ public class TransactionGatewayIntegrationTest extends AbstractBraintreeTestSupp
             Result.class);
 
         assertNotNull("Submit For Settlement result", result);
-        LOG.debug("Transaction submitted for settlement - id={}" + result.getTarget().getId());
+        LOG.debug("Transaction submitted for settlement - id={}", result.getTarget().getId());
     }
 
     @Test
diff --git a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConsumer.java
b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConsumer.java
index acb04a1..64e661c 100644
--- a/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConsumer.java
+++ b/components/camel-mail/src/main/java/org/apache/camel/component/mail/MailConsumer.java
@@ -162,7 +162,7 @@ public class MailConsumer extends ScheduledBatchPollingConsumer {
             try {
                 store.close();
             } catch (Exception e) {
-                LOG.debug("Could not disconnect from {}: " + getEndpoint().getConfiguration().getMailStoreLogInformation()
+ ". This exception is ignored.", e);
+                LOG.debug("Could not disconnect from {}. This exception is ignored.", getEndpoint().getConfiguration().getMailStoreLogInformation(),
e);
             }
             store = null;
             folder = null;


Mime
View raw message