From 809a30fc7a2a74df48117c949ee90e757886c13f Mon Sep 17 00:00:00 2001 From: Hasunie Date: Thu, 16 Mar 2017 14:22:24 +0530 Subject: [PATCH] fixing code format issue --- .../wso2/carbon/mdm/services/android/util/AndroidAPIUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidAPIUtils.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidAPIUtils.java index 79a7e80d2d..6f8c547dca 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidAPIUtils.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/util/AndroidAPIUtils.java @@ -488,7 +488,7 @@ public class AndroidAPIUtils { // if (((JsonObject) element).entrySet().iterator().next().getValue().getAsString().equalsIgnoreCase(needed)); for (Map.Entry ob : ((JsonObject) element).entrySet()) { JsonElement val = ob.getValue(); - if (val != null && !val.isJsonNull() && ob.getValue().getAsString().equalsIgnoreCase(needed)) { + if (val != null && !val.isJsonNull()) { if (exist) { { return val.getAsString().replace("%", "");