Skip to content

Commit 369c5c9

Browse files
alperozturk96backportbot[bot]
authored andcommitted
final var
Signed-off-by: alperozturk <[email protected]>
1 parent 4158b96 commit 369c5c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/src/main/java/com/owncloud/android/operations/SynchronizeFileOperation.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,14 @@ private void requestForUpload(OCFile file) {
302302

303303
private void requestForDownload(OCFile file) {
304304
final var fileDownloadHelper = FileDownloadHelper.Companion.instance();
305-
String filename = file.getFileName();
305+
final var filename = file.getFileName();
306306

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

310310
try {
311311
final var operation = new DownloadFileOperation(mUser, file, mContext);
312-
var result = operation.execute(getClient());
312+
final var result = operation.execute(getClient());
313313

314314
mTransferWasRequested = true;
315315

0 commit comments

Comments
 (0)