|
@@ -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
|