You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2019/12/20 10:47:03 UTC

[camel] branch master updated: Add missing spaces in concatenated string literals.

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 e626f5e  Add missing spaces in concatenated string literals.
e626f5e is described below

commit e626f5e1ee44de416ae0bd584bf1625c9bf51ef1
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Fri Dec 20 11:45:53 2019 +0100

    Add missing spaces in concatenated string literals.
---
 .../src/main/java/org/apache/camel/component/jmx/JMXConsumer.java | 2 +-
 .../src/main/java/org/apache/camel/component/log/LogEndpoint.java | 6 +++---
 .../java/org/apache/camel/component/mybatis/MyBatisEndpoint.java  | 2 +-
 .../apache/camel/component/salesforce/SalesforceComponent.java    | 2 +-
 .../java/org/apache/camel/component/sql/DefaultSqlEndpoint.java   | 2 +-
 .../camel/dataformat/xmlsecurity/XMLSecurityDataFormat.java       | 2 +-
 .../apache/camel/support/processor/DefaultExchangeFormatter.java  | 8 ++++----
 7 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXConsumer.java b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXConsumer.java
index 1d3a398..dd82c3e 100644
--- a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXConsumer.java
+++ b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXConsumer.java
@@ -172,7 +172,7 @@ public class JMXConsumer extends DefaultConsumer implements NotificationListener
                     doStart();
                 } catch (Exception e) {
                     log.error("An unrecoverable exception has occurred while starting the JMX consumer"
-                                + "for endpoint {}", URISupport.sanitizeUri(mJmxEndpoint.getEndpointUri()), e);
+                                + " for endpoint {}", URISupport.sanitizeUri(mJmxEndpoint.getEndpointUri()), e);
                 }
             }
         };
diff --git a/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java b/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
index 8447111..e3a814b 100644
--- a/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
+++ b/components/camel-log/src/main/java/org/apache/camel/component/log/LogEndpoint.java
@@ -76,7 +76,7 @@ public class LogEndpoint extends ProcessorEndpoint {
     @UriParam(label = "formatting", description = "Show the message headers.")
     private boolean showHeaders;
     @UriParam(label = "formatting", defaultValue = "true", description = "Whether to skip line separators when logging the message body."
-            + "This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is.")
+            + " This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is.")
     private boolean skipBodyLineSeparator = true;
     @UriParam(label = "formatting", defaultValue = "true", description = "Show the message body.")
     private boolean showBody = true;
@@ -84,8 +84,8 @@ public class LogEndpoint extends ProcessorEndpoint {
     private boolean showBodyType = true;
     @UriParam(label = "formatting", description = "If the exchange has an exception, show the exception message (no stacktrace)")
     private boolean showException;
-    @UriParam(label = "formatting", description = "f the exchange has a caught exception, show the exception message (no stack trace)."
-            + "A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch exceptions.")
+    @UriParam(label = "formatting", description = "If the exchange has a caught exception, show the exception message (no stack trace)."
+            + " A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch exceptions.")
     private boolean showCaughtException;
     @UriParam(label = "formatting", description = "Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled.")
     private boolean showStackTrace;
diff --git a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/MyBatisEndpoint.java b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/MyBatisEndpoint.java
index d2d1503..e791169 100644
--- a/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/MyBatisEndpoint.java
+++ b/components/camel-mybatis/src/main/java/org/apache/camel/component/mybatis/MyBatisEndpoint.java
@@ -37,7 +37,7 @@ public class MyBatisEndpoint extends BaseMyBatisEndpoint {
     @UriParam(label = "producer")
     private StatementType statementType;
     @UriParam(label = "consumer", description = "Enables or disables transaction. If enabled then if processing an exchange failed then the consumer"
-        + "break out processing any further exchanges to cause a rollback eager.")
+        + " breaks out processing any further exchanges to cause a rollback eager.")
     private boolean transacted;
     @UriParam(label = "consumer", defaultValue = "0")
     private int maxMessagesPerPoll;
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
index 2a116a5..595b4fc 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponent.java
@@ -194,7 +194,7 @@ public class SalesforceComponent extends DefaultComponent implements SSLContextP
     private String httpProxyRealm;
 
     @Metadata(description = "If set to true Digest authentication will be used when authenticating to the HTTP proxy,"
-                            + "otherwise Basic authorization method will be used", defaultValue = "false", label = "common,proxy,security")
+                            + " otherwise Basic authorization method will be used", defaultValue = "false", label = "common,proxy,security")
     private boolean httpProxyUseDigestAuth;
 
     @Metadata(description = "In what packages are the generated DTO classes. Typically the classes would be generated"
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
index 8ac0f3e..7b34314 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
@@ -47,7 +47,7 @@ public abstract class DefaultSqlEndpoint extends DefaultPollingEndpoint {
     @UriParam(description = "Sets the DataSource to use to communicate with the database.")
     private DataSource dataSource;
     @UriParam(label = "consumer", description = "Enables or disables transaction. If enabled then if processing an exchange failed then the consumer"
-            + "break out processing any further exchanges to cause a rollback eager.")
+            + " breaks out processing any further exchanges to cause a rollback eager.")
     private boolean transacted;
     @UriParam(label = "producer", description = "Enables or disables batch mode")
     private boolean batch;
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/XMLSecurityDataFormat.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/XMLSecurityDataFormat.java
index 277a165..f6add8d 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/XMLSecurityDataFormat.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/dataformat/xmlsecurity/XMLSecurityDataFormat.java
@@ -898,7 +898,7 @@ public class XMLSecurityDataFormat extends ServiceSupport implements DataFormat,
                 this.keyOrTrustStoreParameters = (KeyStoreParameters)parametersObj;
             } else {
                 throw new IllegalStateException("Could not initialize XMLSecurityDataFormat with camelContext."
-                        + "The id for the keyOrTrustStoreParameters specified [ " + keyOrTrustStoreParametersRef
+                        + " The id for the keyOrTrustStoreParameters specified [ " + keyOrTrustStoreParametersRef
                         + " ] does not identify a KeyStoreParameters bean.");
             }
         }
diff --git a/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java b/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
index cfbd836..6c9114e 100644
--- a/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
+++ b/core/camel-support/src/main/java/org/apache/camel/support/processor/DefaultExchangeFormatter.java
@@ -50,8 +50,8 @@ public class DefaultExchangeFormatter implements ExchangeFormatter {
     private boolean showProperties;
     @UriParam(label = "formatting", description = "Show the message headers.")
     private boolean showHeaders;
-    @UriParam(label = "formatting", defaultValue = "true", description = "Whether to skip line separators when logging the message body." 
-    + "This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is.")
+    @UriParam(label = "formatting", defaultValue = "true", description = "Whether to skip line separators when logging the message body."
+    + " This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is.")
     private boolean skipBodyLineSeparator = true;
     @UriParam(label = "formatting", defaultValue = "true", description = "Show the message body.")
     private boolean showBody = true;
@@ -59,8 +59,8 @@ public class DefaultExchangeFormatter implements ExchangeFormatter {
     private boolean showBodyType = true;
     @UriParam(label = "formatting", description = "If the exchange has an exception, show the exception message (no stacktrace)")
     private boolean showException;
-    @UriParam(label = "formatting", description = "f the exchange has a caught exception, show the exception message (no stack trace)." 
-    + "A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch exceptions.")
+    @UriParam(label = "formatting", description = "f the exchange has a caught exception, show the exception message (no stack trace)."
+    + " A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT and for instance a doCatch can catch exceptions.")
     private boolean showCaughtException;
     @UriParam(label = "formatting", description = "Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled.")
     private boolean showStackTrace;