mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-07-06 15:59:47 +03:00
Compare commits
1 commit
10b4d3af12
...
0b2b3a9852
Author | SHA1 | Date | |
---|---|---|---|
|
0b2b3a9852 |
1 changed files with 0 additions and 9 deletions
|
@ -20,8 +20,6 @@ public final class HashedFile extends HashedEntry {
|
|||
public final long size;
|
||||
@LauncherNetworkAPI
|
||||
private final byte[] digest;
|
||||
@LauncherNetworkAPI
|
||||
public final String url;
|
||||
|
||||
|
||||
public HashedFile(HInput input) throws IOException {
|
||||
|
@ -32,13 +30,6 @@ public HashedFile(HInput input) throws IOException {
|
|||
public HashedFile(long size, byte[] digest) {
|
||||
this.size = VerifyHelper.verifyLong(size, VerifyHelper.L_NOT_NEGATIVE, "Illegal size: " + size);
|
||||
this.digest = digest == null ? null : DIGEST_ALGO.verify(digest).clone();
|
||||
this.url = null;
|
||||
}
|
||||
|
||||
public HashedFile(long size, byte[] digest, String url) {
|
||||
this.size = VerifyHelper.verifyLong(size, VerifyHelper.L_NOT_NEGATIVE, "Illegal size: " + size);
|
||||
this.digest = digest == null ? null : DIGEST_ALGO.verify(digest).clone();
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue