HADOOP-7668 revert the System.out() calls
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1177035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
484649acfe
commit
05aeb2d9fd
@ -526,7 +526,6 @@ public static InetAddress getLocalInetAddress(String host)
|
||||
public static boolean isLocalAddress(InetAddress addr) {
|
||||
// Check if the address is any local or loop back
|
||||
boolean local = addr.isAnyLocalAddress() || addr.isLoopbackAddress();
|
||||
System.out.println("address is any or loopback address " + addr);
|
||||
|
||||
// Check if the address is defined on any interface
|
||||
if (!local) {
|
||||
@ -536,7 +535,6 @@ public static boolean isLocalAddress(InetAddress addr) {
|
||||
local = false;
|
||||
}
|
||||
}
|
||||
System.out.println("address " + addr + " is local " + local);
|
||||
return local;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user