From 4fa18ee1fab313f90fff4a2426f909487d341cb9 Mon Sep 17 00:00:00 2001 From: charitha Date: Wed, 23 Aug 2017 11:48:22 +0530 Subject: [PATCH] Fixed https://github.com/wso2/carbon-device-mgt-plugins/issues/797 --- .../mgt/input/adapter/mqtt/MQTTEventAdapterFactory.java | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/extensions/cdmf-transport-adapters/input/org.wso2.carbon.device.mgt.input.adapter.mqtt/src/main/java/org/wso2/carbon/device/mgt/input/adapter/mqtt/MQTTEventAdapterFactory.java b/components/extensions/cdmf-transport-adapters/input/org.wso2.carbon.device.mgt.input.adapter.mqtt/src/main/java/org/wso2/carbon/device/mgt/input/adapter/mqtt/MQTTEventAdapterFactory.java index 54f0ec364b..094ef54a58 100644 --- a/components/extensions/cdmf-transport-adapters/input/org.wso2.carbon.device.mgt.input.adapter.mqtt/src/main/java/org/wso2/carbon/device/mgt/input/adapter/mqtt/MQTTEventAdapterFactory.java +++ b/components/extensions/cdmf-transport-adapters/input/org.wso2.carbon.device.mgt.input.adapter.mqtt/src/main/java/org/wso2/carbon/device/mgt/input/adapter/mqtt/MQTTEventAdapterFactory.java @@ -84,10 +84,10 @@ public class MQTTEventAdapterFactory extends InputEventAdapterFactory { //Broker Password Property password = new Property(MQTTEventAdapterConstants.ADAPTER_CONF_PASSWORD); - userName.setDisplayName( + password.setDisplayName( resourceBundle.getString(MQTTEventAdapterConstants.ADAPTER_CONF_PASSWORD)); - userName.setRequired(false); - userName.setHint(resourceBundle.getString(MQTTEventAdapterConstants.ADAPTER_CONF_PASSWORD_HINT)); + password.setRequired(false); + password.setHint(resourceBundle.getString(MQTTEventAdapterConstants.ADAPTER_CONF_PASSWORD_HINT)); propertyList.add(password); //Broker Required Scopes. diff --git a/pom.xml b/pom.xml index b87d8e6ffd..5e8d958443 100644 --- a/pom.xml +++ b/pom.xml @@ -1141,7 +1141,7 @@ 1.1.1 - 3.0.75 + 3.0.75 [3.0.0, 4.0.0)