Skip to content

Commit

Permalink
check variables
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Jan 15, 2025
1 parent b3981bd commit d35eb72
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,10 @@ private RemoteOperationResult checkNameCollision(OCFile parentFile,
}

public void handleLocalBehaviour() {
if (user == null || mFile == null || mContext == null) {
return;
}

String expectedPath = FileStorageUtils.getDefaultSavePathFor(user.getAccountName(), mFile);
File expectedFile = new File(expectedPath);
File originalFile = new File(mOriginalStoragePath);
Expand Down

0 comments on commit d35eb72

Please sign in to comment.