Removed unnecessary braces.

revert-dabc3590
Harshan Liyanage 8 years ago committed by GitHub
parent 809a30fc7a
commit bd2ded8563

@ -490,10 +490,8 @@ public class AndroidAPIUtils {
JsonElement val = ob.getValue(); JsonElement val = ob.getValue();
if (val != null && !val.isJsonNull()) { if (val != null && !val.isJsonNull()) {
if (exist) { if (exist) {
{
return val.getAsString().replace("%", ""); return val.getAsString().replace("%", "");
} }
}
if (val.getAsString().equalsIgnoreCase(needed)) { if (val.getAsString().equalsIgnoreCase(needed)) {
exist = true; exist = true;
} }

Loading…
Cancel
Save