From 07f2cb608bd0aee7111cd498a59e6e98e6512635 Mon Sep 17 00:00:00 2001 From: Malintha Fernando Date: Wed, 31 May 2017 10:05:53 +0530 Subject: [PATCH] Fix : Store device type names as it is --- .../org/wso2/carbon/device/mgt/common/DeviceIdentifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java index 5b0e234218b..04504ccdc91 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java @@ -56,7 +56,7 @@ public class DeviceIdentifier implements Serializable{ } public void setType(String type) { - this.type = type.toLowerCase(); + this.type = type.trim(); } public String getId() { return id;