summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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 4174cbc..0dba1e7 100644
--- a/src/main/java/com/att/nsa/mr/client/HostSelector.java
+++ b/src/main/java/com/att/nsa/mr/client/HostSelector.java
@@ -54,7 +54,7 @@ public class HostSelector
public HostSelector(Collection<String> baseHosts, String signature)
{
- if (baseHosts.size() < 1)
+ if (baseHosts.isEmpty())
{
throw new IllegalArgumentException("At least one host must be provided.");
}