Skip to content

Commit 876557a

Browse files
author
yangsen
committed
revert some codes
1 parent 1d16f15 commit 876557a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/qiniu/storage/BaseUploader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private Response uploadWithRegionRetry() throws QiniuException {
5656
}
5757

5858
// 切换 region
59-
if (config.region == null || !this.config.region.switchRegion(new UploadToken(upToken))) {
59+
if (config.region == null || !config.region.switchRegion(new UploadToken(upToken))) {
6060
break;
6161
}
6262
}

src/main/java/com/qiniu/storage/ConfigHelper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public String upHost(String upToken) throws QiniuException {
3030
}
3131
}
3232

33-
@Deprecated
3433
public String tryChangeUpHost(String upToken, String lastUsedHost) throws QiniuException {
3534
return upHost(upToken, lastUsedHost, true, false);
3635
}

0 commit comments

Comments
 (0)