mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
squid:S1155 - Collection.isEmpty() should be used to test for emptiness
This commit is contained in:
@@ -140,7 +140,7 @@ public class DhcpInfoInternal {
|
||||
dns2 = orig.dns2;
|
||||
}
|
||||
|
||||
if (mRoutes.size() == 0) {
|
||||
if (mRoutes.isEmpty()) {
|
||||
for (RouteInfo route : orig.getRoutes()) {
|
||||
addRoute(route);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user