remove unuse code

This commit is contained in:
unknown
2020-11-24 13:29:04 +08:00
parent 4b18d6aef1
commit 24b0c39b6b

View File

@@ -5,10 +5,6 @@ import com.mogo.httpdns.IMogoHttpDns;
import com.mogo.utils.ThreadPoolService;
import com.mogo.utils.logger.Logger;
import io.reactivex.Scheduler;
import io.reactivex.Single;
import io.reactivex.schedulers.Schedulers;
public class WebSocketDnsManager {
private static final String TAG = "WebSocketDnsManager";
@@ -39,7 +35,7 @@ public class WebSocketDnsManager {
mogoHttpDns.addHttpDnsTtlCallback(WebSocketConstant.getSocketServer(), () -> {
Logger.d(TAG, "ttl callBack ,ready to getCache Dns IP");
String dnsCacheIp = mogoHttpDns.getCachedHttpDnsIps(WebSocketConstant.getSocketServer());
if(dnsCacheIp == null){
if (dnsCacheIp == null) {
return;
}
Logger.d(TAG, "获取缓存Dns IP : " + dnsCacheIp + " , 原缓存 IP " + cacheIp);