Issue-ID: AAF-1060
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Change-Id: I88cdfc917470af8217273fe96db66604601345bf
@Override
public boolean hasItems() {
@Override
public boolean hasItems() {
+ if(hosts!=null) {
+ for (Host h : hosts) {
if (h.status==Status.OK) {
return true;
}
if (h.status==Status.OK) {
return true;
}
*
*/
public interface DNSLookup {
*
*/
public interface DNSLookup {
- InetAddress[] getAllByName(String host) throws UnknownHostException;
- public static final DNSLookup dflt = new DNSLookup() {
- public InetAddress[] getAllByName(String host) throws UnknownHostException {
- return InetAddress.getAllByName(host);
- }
+ InetAddress[] getAllByName(String host) throws UnknownHostException;
+ public static final DNSLookup dflt = new DNSLookup() {
+ public InetAddress[] getAllByName(String host) throws UnknownHostException {
+ return InetAddress.getAllByName(host);
+ }