projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated copyright in source files
[pub/Android/ownCloud.git]
/
src
/
eu
/
alefzero
/
webdav
/
WebdavClient.java
diff --git
a/src/eu/alefzero/webdav/WebdavClient.java
b/src/eu/alefzero/webdav/WebdavClient.java
index
f3aca3e
..
5332536
100644
(file)
--- a/
src/eu/alefzero/webdav/WebdavClient.java
+++ b/
src/eu/alefzero/webdav/WebdavClient.java
@@
-1,5
+1,6
@@
/* ownCloud Android client application
\r
* Copyright (C) 2011 Bartek Przybylski
\r
/* ownCloud Android client application
\r
* Copyright (C) 2011 Bartek Przybylski
\r
+ * Copyright (C) 2012-2013 ownCloud Inc.
\r
*
\r
* This program is free software: you can redistribute it and/or modify
\r
* it under the terms of the GNU General Public License as published by
\r
*
\r
* This program is free software: you can redistribute it and/or modify
\r
* it under the terms of the GNU General Public License as published by
\r
@@
-98,7
+99,7
@@
public class WebdavClient extends HttpClient {
int readResult;
\r
while ((readResult = bis.read(bytes)) != -1) {
\r
if (mDataTransferListener != null)
\r
int readResult;
\r
while ((readResult = bis.read(bytes)) != -1) {
\r
if (mDataTransferListener != null)
\r
- mDataTransferListener.
t
ransferProgress(readResult);
\r
+ mDataTransferListener.
onT
ransferProgress(readResult);
\r
fos.write(bytes, 0, readResult);
\r
}
\r
fos.close();
\r
fos.write(bytes, 0, readResult);
\r
}
\r
fos.close();
\r
@@
-165,7
+166,7
@@
public class WebdavClient extends HttpClient {
try {
\r
File f = new File(localFile);
\r
FileRequestEntity entity = new FileRequestEntity(f, contentType);
\r
try {
\r
File f = new File(localFile);
\r
FileRequestEntity entity = new FileRequestEntity(f, contentType);
\r
- entity.
set
OnDatatransferProgressListener(mDataTransferListener);
\r
+ entity.
add
OnDatatransferProgressListener(mDataTransferListener);
\r
put.setRequestEntity(entity);
\r
status = executeMethod(put);
\r
\r
put.setRequestEntity(entity);
\r
status = executeMethod(put);
\r
\r
@@
-336,5
+337,5
@@
public class WebdavClient extends HttpClient {
public Uri getBaseUri() {
\r
return mUri;
\r
}
\r
public Uri getBaseUri() {
\r
return mUri;
\r
}
\r
-
\r
+
\r
}
\r
}
\r