From bd2ded8563df8090a1f07c1f41ff0ceff5573246 Mon Sep 17 00:00:00 2001 From: Harshan Liyanage Date: Thu, 16 Mar 2017 15:54:39 +0530 Subject: [PATCH] Removed unnecessary braces. --- .../carbon/mdm/services/android/util/AndroidAPIUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 6f8c547dc..5f93aa175 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 @@ -490,9 +490,7 @@ public class AndroidAPIUtils { JsonElement val = ob.getValue(); if (val != null && !val.isJsonNull()) { if (exist) { - { - return val.getAsString().replace("%", ""); - } + return val.getAsString().replace("%", ""); } if (val.getAsString().equalsIgnoreCase(needed)) { exist = true;