|
@@ -377,7 +377,7 @@ public class SiMzService {
|
|
|
if (result.getIntValue(RESULT_CODE) == 0) {
|
|
|
output = result.getJSONObject(OUTPUT);
|
|
|
JSONArray details = output.getJSONArray("feedetail");
|
|
|
- if (null == details || details.size() == 0) {
|
|
|
+ if (null == details || details.isEmpty()) {
|
|
|
continue;
|
|
|
}
|
|
|
for (int j = 0; j < details.size(); j++) {
|
|
@@ -387,7 +387,7 @@ public class SiMzService {
|
|
|
list.add(spcChrDiseAcct);
|
|
|
}
|
|
|
}
|
|
|
- if (list.size() > 0) {
|
|
|
+ if (!list.isEmpty()) {
|
|
|
return ResultVoUtil.success(list);
|
|
|
}
|
|
|
}
|