Skip to content

Commit

Permalink
Merge branch 'prs-base' into prs
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtnt committed Nov 10, 2024
2 parents c03e725 + 91bf4d8 commit 1480b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static List<String> prepareFallbackURLs(RemoteVersion rv) {
RemoteVersion r = RemoteVersion.fetch(null, s);
FileDownloadTask.IntegrityCheck r1 = r.getIntegrityCheck(), r2 = rv.getIntegrityCheck();
if (!Objects.equals(r1.getAlgorithm(), r2.getAlgorithm()) || !Objects.equals(r1.getChecksum(), r2.getChecksum())) {
throw new IllegalArgumentException("Integrity check is mismatched");
return null;
}

return r.getUrl();
Expand Down

0 comments on commit 1480b70

Please sign in to comment.