You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2018/05/09 23:23:48 UTC

[camel] branch master updated: Fixed CS issue in camel-paho

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

aldettinger 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 bc43a09  Fixed CS issue in camel-paho
bc43a09 is described below

commit bc43a09e94b59fe6fdb87fb6cd5a1f35e4386efe
Author: aldettinger <al...@gmail.com>
AuthorDate: Thu May 10 01:22:18 2018 +0200

    Fixed CS issue in camel-paho
---
 .../apache/camel/component/paho/PahoComponentVerifierExtension.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponentVerifierExtension.java b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponentVerifierExtension.java
index c58ee9b..cfe3045 100644
--- a/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponentVerifierExtension.java
+++ b/components/camel-paho/src/main/java/org/apache/camel/component/paho/PahoComponentVerifierExtension.java
@@ -67,7 +67,7 @@ public class PahoComponentVerifierExtension extends DefaultComponentVerifierExte
         if (ObjectHelper.isNotEmpty(brokerUrl)) {
             try {
                 // Create MQTT client
-            	if (ObjectHelper.isEmpty(username) && ObjectHelper.isEmpty(password)) {
+                if (ObjectHelper.isEmpty(username) && ObjectHelper.isEmpty(password)) {
                     MqttClient client = new MqttClient(brokerUrl, MqttClient.generateClientId());
                     client.connect();
                     client.disconnect();
@@ -78,7 +78,7 @@ public class PahoComponentVerifierExtension extends DefaultComponentVerifierExte
                     connOpts.setPassword(password.toCharArray());
                     client.connect(connOpts);
                     client.disconnect();
-            	}
+                }
             } catch (MqttException e) {
                 builder.error(
                     ResultErrorBuilder.withCodeAndDescription(VerificationError.StandardCode.ILLEGAL_PARAMETER_VALUE, "Unable to connect to MQTT broker")

-- 
To stop receiving notification emails like this one, please contact
aldettinger@apache.org.