squid:S1155 - Collection.isEmpty() should be used to test for emptiness

This commit is contained in:
George Kankava
2016-07-02 10:36:39 +04:00
parent c7959ce63e
commit 5cc975522e
11 changed files with 19 additions and 19 deletions
@@ -140,7 +140,7 @@ public class DhcpInfoInternal {
dns2 = orig.dns2;
}
if (mRoutes.size() == 0) {
if (mRoutes.isEmpty()) {
for (RouteInfo route : orig.getRoutes()) {
addRoute(route);
}