parakhnr commented on code in PR #2452:
URL: https://github.com/apache/helix/pull/2452#discussion_r1170389242
##########
zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/NetworkUtil.java:
##########
@@ -22,77 +22,14 @@
import java.io.IOException;
import java.net.ConnectException;
import java.net.InetAddress;
-import java.net.NetworkInterface;
import java.net.Socket;
import java.net.SocketException;
import java.net.UnknownHostException;
-import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Set;
public class NetworkUtil {
public final static String OVERWRITE_HOSTNAME_SYSTEM_PROPERTY =
"zkclient.hostname.overwritten";
- public static String[] getLocalHostNames() {
Review Comment:
Ohh ok. Gotcha! I won't mark it as deprecated since it's utility class and
it delivers on the functionality. I will just revert the file to it's original
state.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]