X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/8e36e7cc3e6218ccb80ee2af3eb0a19df24e339f..be51b2c4aa8fff92f73bd0846ee31a69cc36c528:/src/eu/alefzero/webdav/WebdavClient.java?ds=inline diff --git a/src/eu/alefzero/webdav/WebdavClient.java b/src/eu/alefzero/webdav/WebdavClient.java index 704e14af..c4df9d16 100644 --- a/src/eu/alefzero/webdav/WebdavClient.java +++ b/src/eu/alefzero/webdav/WebdavClient.java @@ -110,6 +110,7 @@ public class WebdavClient extends HttpClient { exhaustResponse(get.getResponseBodyAsStream()); } Log_OC.e(TAG, "Download of " + remoteFilePath + " to " + targetFile + " finished with HTTP status " + status + (!ret?"(FAIL)":"")); + } catch (Exception e) { logException(e, "dowloading " + remoteFilePath); @@ -135,7 +136,7 @@ public class WebdavClient extends HttpClient { ret = (status == HttpStatus.SC_OK || status == HttpStatus.SC_ACCEPTED || status == HttpStatus.SC_NO_CONTENT); exhaustResponse(delete.getResponseBodyAsStream()); - Log.e(TAG, "DELETE of " + remoteFilePath + " finished with HTTP status " + status + (!ret?"(FAIL)":"")); + Log_OC.e(TAG, "DELETE of " + remoteFilePath + " finished with HTTP status " + status + (!ret?"(FAIL)":"")); } catch (Exception e) { logException(e, "deleting " + remoteFilePath); @@ -168,7 +169,7 @@ public class WebdavClient extends HttpClient { try { File f = new File(localFile); FileRequestEntity entity = new FileRequestEntity(f, contentType); - entity.addOnDatatransferProgressListener(mDataTransferListener); + entity.addDatatransferProgressListener(mDataTransferListener); put.setRequestEntity(entity); status = executeMethod(put); @@ -251,7 +252,6 @@ public class WebdavClient extends HttpClient { } } - /** * Requests the received method with the received timeout (milliseconds). * @@ -300,7 +300,6 @@ public class WebdavClient extends HttpClient { } } - /** * Logs an exception triggered in a HTTP request. *