Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit bf6f93f

Browse files
authored
Merge pull request #396 from owncloud/fix/xodo_bug
fix xodo sync bug
2 parents ccaf5a8 + 2c18ae4 commit bf6f93f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/chunks/ChunkedUploadRemoteFileOperation.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
import java.nio.channels.FileChannel;
4040
import java.util.concurrent.TimeUnit;
4141

42-
import static com.owncloud.android.lib.common.http.HttpConstants.IF_MATCH_HEADER;
4342
import static com.owncloud.android.lib.common.operations.RemoteOperationResult.ResultCode.OK;
4443

4544
/**
@@ -95,10 +94,6 @@ protected RemoteOperationResult uploadFile(OwnCloudClient client) throws Excepti
9594
} else {
9695
mPutMethod = new PutMethod(new URL(uriPrefix + File.separator + chunkIndex), mFileRequestBody);
9796

98-
if (mRequiredEtag != null && mRequiredEtag.length() > 0) {
99-
mPutMethod.addRequestHeader(IF_MATCH_HEADER, "\"" + mRequiredEtag + "\"");
100-
}
101-
10297
if (chunkIndex == chunkCount - 1) {
10398
// Added a high timeout to the last chunk due to when the last chunk
10499
// arrives to the server with the last PUT, all chunks get assembled

0 commit comments

Comments
 (0)