Skip to content

Commit c9407db

Browse files
alperozturk96backportbot[bot]
authored andcommitted
remove Redundant null check at SynchronizeFileOperation.java:[line 316]
Signed-off-by: alperozturk <[email protected]>
1 parent 81268eb commit c9407db

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

-4
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,6 @@ private void requestForDownload(OCFile file) {
313313
mTransferWasRequested = true;
314314

315315
String filename = file.getFileName();
316-
if (filename == null) {
317-
Log_OC.d(TAG,"filename is null cannot save file");
318-
return;
319-
}
320316

321317
if (result.isSuccess()) {
322318
fileDownloadHelper.saveFile(file, operation, getStorageManager());

0 commit comments

Comments
 (0)