mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-10-02 00:35:08 +02:00
Use h3 extension from Settings.
This commit is contained in:
parent
a16c1943c0
commit
7cd2109099
@ -52,7 +52,7 @@ public class NUSDataProviderRemote extends NUSDataProvider {
|
|||||||
@Override
|
@Override
|
||||||
public byte[] getContentH3Hash(Content content) throws IOException {
|
public byte[] getContentH3Hash(Content content) throws IOException {
|
||||||
NUSDownloadService downloadService = NUSDownloadService.getDefaultInstance();
|
NUSDownloadService downloadService = NUSDownloadService.getDefaultInstance();
|
||||||
String url = getRemoteURL(content) + ".h3";
|
String url = getRemoteURL(content) + Settings.H3_EXTENTION;
|
||||||
return downloadService.downloadToByteArray(url);
|
return downloadService.downloadToByteArray(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user