Removed unnecessary braces.

This commit is contained in:
Harshan Liyanage 2017-03-16 15:54:39 +05:30 committed by GitHub
parent 809a30fc7a
commit bd2ded8563

View File

@ -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;