Skip to content

Commit 305c8d2

Browse files
Update library/src/main/java/com/owncloud/android/lib/resources/files/DownloadFileRemoteOperation.java
Co-authored-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com> Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
1 parent c29e940 commit 305c8d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/src/main/java/com/owncloud/android/lib/resources/files/DownloadFileRemoteOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private int downloadFile(NextcloudClient client, File targetFile) throws IOExcep
102102
long transferred = 0;
103103

104104
String contentLength = getMethod.getResponseHeader("Content-Length");
105-
long totalToTransfer = (contentLength != null) ?Long.parseLong(contentLength) : 0;
105+
long totalToTransfer = (contentLength != null) ? Long.parseLong(contentLength) : 0;
106106

107107
byte[] bytes = new byte[4096];
108108
int readResult;

0 commit comments

Comments
 (0)