- if (!oldFile.fileExists()) {
- // just a name coincidence
- file.setStoragePath(oldFile.getStoragePath());
-
- } else {
- // conflict resolved with 'Keep both' by the user
- File localFile = new File(oldFile.getStoragePath());
+ if (oldFile.fileExists()) {
+ // the upload was the result of a conflict resolved with 'Keep both' by the user
+ /*File localFile = new File(file.getStoragePath());