Merge "Sonar major issues"
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 HostSelector(Collection<String> baseHosts, String signature)
   {
-    if (baseHosts.size() < 1)
+    if (baseHosts.isEmpty())
     {
       throw new IllegalArgumentException("At least one host must be provided.");
     }