提交 38d70bd5 编写于 作者: V vongosling

Polish

上级 23b7d7a5
...@@ -379,7 +379,7 @@ public class MixAll { ...@@ -379,7 +379,7 @@ public class MixAll {
} }
} }
//FIXME Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0 //Reverse logic comparing to RemotingUtil method, consider refactor in RocketMQ 5.0
public static String getLocalhostByNetworkInterface() throws SocketException { public static String getLocalhostByNetworkInterface() throws SocketException {
List<String> candidatesHost = new ArrayList<String>(); List<String> candidatesHost = new ArrayList<String>();
Enumeration<NetworkInterface> enumeration = NetworkInterface.getNetworkInterfaces(); Enumeration<NetworkInterface> enumeration = NetworkInterface.getNetworkInterfaces();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册