Skip to content

Commit cd8b59f

Browse files
author
JemyCheung
committed
v7.5.1
1 parent e52d5ec commit cd8b59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/qiniu/android/http/DnsPrefetcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public boolean equals(Object obj) {
299299
* @return true:重新预期并缓存, false:不需要重新预取和缓存
300300
*/
301301
public static boolean checkRePrefetchDns(String token, Configuration config) {
302-
if (mDnsCacheKey == null)
302+
if (mDnsCacheKey.get() == null)
303303
return true;
304304

305305
String currentTime = String.valueOf(System.currentTimeMillis());

0 commit comments

Comments
 (0)