mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Declare string where needed
This commit is contained in:
parent
a53e289a3e
commit
5fee93d975
1 changed files with 1 additions and 2 deletions
|
@ -293,7 +293,6 @@ public class UploadFileOperation extends SyncOperation {
|
|||
mCancellationRequested.set(false);
|
||||
mUploadStarted.set(true);
|
||||
RemoteOperationResult result = null;
|
||||
String expectedPath = null;
|
||||
File temporalFile = null, originalFile = new File(mOriginalStoragePath), expectedFile = null;
|
||||
|
||||
try {
|
||||
|
@ -347,7 +346,7 @@ public class UploadFileOperation extends SyncOperation {
|
|||
throw new OperationCancelledException();
|
||||
}
|
||||
|
||||
expectedPath = FileStorageUtils.getDefaultSavePathFor(mAccount.name, mFile);
|
||||
String expectedPath = FileStorageUtils.getDefaultSavePathFor(mAccount.name, mFile);
|
||||
expectedFile = new File(expectedPath);
|
||||
|
||||
/// copy the file locally before uploading
|
||||
|
|
Loading…
Reference in a new issue