Skip to content

Commit

Permalink
Merge pull request #60 from wizken/master
Browse files Browse the repository at this point in the history
#59 remove invalid log
  • Loading branch information
ufo2243 authored Aug 18, 2023
2 parents 2a3b85a + f06c022 commit 73bf71d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ protected void prepareData() throws UfileClientException {
.createUrl();

partCount = (long) Math.ceil(totalSize * 1.d / UfileConstants.MULTIPART_SIZE);
JLog.E(TAG, "[partCount]:" + partCount);

switch (progressConfig.type) {
case PROGRESS_INTERVAL_TIME: {
Expand Down Expand Up @@ -291,7 +290,6 @@ protected void prepareData() throws UfileClientException {
for (long i = 0L; i < partCount; i++) {
long start = Math.max(i * UfileConstants.MULTIPART_SIZE, rangeStart);
long end = Math.min(rangeEnd, (start + UfileConstants.MULTIPART_SIZE));
JLog.E(TAG, "[range]:" + String.format("bytes=%d-%d", start, end));
GetRequestBuilder builder = (GetRequestBuilder) new GetRequestBuilder()
.baseUrl(host)
.addHeader("Range", String.format("bytes=%d-%d", start, end));
Expand Down

0 comments on commit 73bf71d

Please sign in to comment.