Skip to content

Commit f314706

Browse files
committed
修复重试判断
1 parent a99d23f commit f314706

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public boolean isCancelled() {
9191
public boolean isOK() {
9292
return statusCode == 200 && error == null && reqId != null;
9393
}
94-
95-
94+
9695
public boolean isNetworkBroken() {
9796
return statusCode == NetworkError || statusCode == UnknownHost
9897
|| statusCode == CannotConnectToHost || statusCode == TimedOut

0 commit comments

Comments
 (0)