Skip to content

Commit

Permalink
remove Redundant null check at SynchronizeFileOperation.java:[line 316]
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 11, 2025
1 parent 361b53f commit ddcc481
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,6 @@ private void requestForDownload(OCFile file) {
mTransferWasRequested = true;

String filename = file.getFileName();
if (filename == null) {
Log_OC.d(TAG,"filename is null cannot save file");
return;
}

if (result.isSuccess()) {
fileDownloadHelper.saveFile(file, operation, getStorageManager());
Expand Down

0 comments on commit ddcc481

Please sign in to comment.