aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r--src/main/java/com/att/nsa/mr/client/HostSelector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/HostSelector.java b/src/main/java/com/att/nsa/mr/client/HostSelector.java
index 0dba1e7..63ef404 100644
--- a/src/main/java/com/att/nsa/mr/client/HostSelector.java
+++ b/src/main/java/com/att/nsa/mr/client/HostSelector.java
@@ -127,7 +127,7 @@ public class HostSelector
workingSet.remove(be.getHost());
}
- if (workingSet.size() == 0)
+ if (workingSet.isEmpty())
{
log.warn("All hosts were blacklisted; reverting to full set of hosts.");
workingSet.addAll(this.fBaseHosts);