mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
codacy: remove unused variable
This commit is contained in:
parent
ae3035f4f4
commit
96372f4981
1 changed files with 0 additions and 3 deletions
|
@ -410,14 +410,11 @@ public class UploadFileOperation extends SyncOperation {
|
|||
Long timeStampLong = originalFile.lastModified() / 1000;
|
||||
String timeStamp = timeStampLong.toString();
|
||||
|
||||
|
||||
boolean onSDCard = false;
|
||||
FileChannel channel = null;
|
||||
try {
|
||||
channel = new RandomAccessFile(mFile.getStoragePath(), "rw").getChannel();
|
||||
fileLock = channel.tryLock();
|
||||
} catch (FileNotFoundException e) {
|
||||
onSDCard = true;
|
||||
// this basically means that the file is on SD card
|
||||
// try to copy file to temporary dir if it doesn't exist
|
||||
String temporalPath = FileStorageUtils.getTemporalPath(mAccount.name) + mFile.getRemotePath();
|
||||
|
|
Loading…
Reference in a new issue