Skip to content

Commit db9cbc8

Browse files
committed
revert(core): revert func rename
1 parent a962278 commit db9cbc8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/i18nupdatemod/core/ResourcePack.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void checkUpdate(String fileUrl, String md5Url) throws IOException, NoSuc
4747
int retryCount = 3;
4848
while (retryCount > 0) {
4949
try {
50-
downloadFile(fileUrl, md5Url);
50+
downloadFull(fileUrl, md5Url);
5151
return;
5252
} catch (Exception e) {
5353
retryCount--;
@@ -85,7 +85,7 @@ private boolean checkMd5(Path localFile, String md5Url) throws IOException, URIS
8585
return localMd5.equalsIgnoreCase(remoteMd5);
8686
}
8787

88-
private void downloadFile(String fileUrl, String md5Url) throws IOException {
88+
private void downloadFull(String fileUrl, String md5Url) throws IOException {
8989
try {
9090
Path downloadTmp = FileUtil.getTemporaryPath(filename + ".tmp");
9191
AssetUtil.download(fileUrl, downloadTmp);

0 commit comments

Comments
 (0)