Skip to content

Commit

Permalink
final var
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 authored and backportbot[bot] committed Feb 12, 2025
1 parent 4158b96 commit 369c5c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,14 @@ private void requestForUpload(OCFile file) {

private void requestForDownload(OCFile file) {
final var fileDownloadHelper = FileDownloadHelper.Companion.instance();
String filename = file.getFileName();
final var filename = file.getFileName();

if (syncInBackgroundWorker) {
Log_OC.d(TAG, "downloading file without notification: " + filename);

try {
final var operation = new DownloadFileOperation(mUser, file, mContext);
var result = operation.execute(getClient());
final var result = operation.execute(getClient());

mTransferWasRequested = true;

Expand Down

0 comments on commit 369c5c9

Please sign in to comment.