refactor: replace size() == 0 with isEmpty()

This commit is contained in:
Breno A.
2024-06-09 08:54:37 -03:00
Unverified
parent da61d30f44
commit ef58ab3e5a
54 changed files with 89 additions and 91 deletions
@@ -72,7 +72,7 @@ public class RefreshPolicyExcelConfigData extends GameResource {
return (params.get(upper_bound_idx - 1) - params.get(0));
}
case REFRESH_DAYBEGIN_INTERVAL:
if (params.size() == 0) return -1;
if (params.isEmpty()) return -1;
return params.get(0) * 60 * 60 * 24;
}
} catch (Exception e) {