projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #324 from owncloud/last_minute_release-1.5.2
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
operations
/
RenameFileOperation.java
diff --git
a/src/com/owncloud/android/operations/RenameFileOperation.java
b/src/com/owncloud/android/operations/RenameFileOperation.java
index
ebeac79
..
be6cdcc
100644
(file)
--- a/
src/com/owncloud/android/operations/RenameFileOperation.java
+++ b/
src/com/owncloud/android/operations/RenameFileOperation.java
@@
-20,7
+20,6
@@
package com.owncloud.android.operations;
import java.io.File;
import java.io.IOException;
import java.io.File;
import java.io.IOException;
-import org.apache.commons.httpclient.HttpException;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.oc_framework.network.webdav.WebdavClient;
import com.owncloud.android.datamodel.FileDataStorageManager;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.oc_framework.network.webdav.WebdavClient;
@@
-110,14
+109,10
@@
public class RenameFileOperation extends RemoteOperation {
saveLocalFile();
}
}
saveLocalFile();
}
}
- } catch (HttpException e) {
- Log_OC.e(TAG, "Rename " + mFile.getRemotePath() + " to " + ((mNewRemotePath==null) ? mNewName : mNewRemotePath) + ": " +
- ((result!= null) ? result.getLogMessage() : ""), e);
- e.printStackTrace();
+
} catch (IOException e) {
Log_OC.e(TAG, "Rename " + mFile.getRemotePath() + " to " + ((mNewRemotePath==null) ? mNewName : mNewRemotePath) + ": " +
((result!= null) ? result.getLogMessage() : ""), e);
} catch (IOException e) {
Log_OC.e(TAG, "Rename " + mFile.getRemotePath() + " to " + ((mNewRemotePath==null) ? mNewName : mNewRemotePath) + ": " +
((result!= null) ? result.getLogMessage() : ""), e);
- e.printStackTrace();
}
return result;
}
return result;