X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/4ee11fa748960d24c4627adfaaaddf6e91c9b70d..bcc7bd2744fd3c6f6f9fb33ed46479a55914fdb9:/src/eu/alefzero/webdav/WebdavEntry.java diff --git a/src/eu/alefzero/webdav/WebdavEntry.java b/src/eu/alefzero/webdav/WebdavEntry.java index 773276d8..30b5660f 100644 --- a/src/eu/alefzero/webdav/WebdavEntry.java +++ b/src/eu/alefzero/webdav/WebdavEntry.java @@ -50,6 +50,8 @@ public class WebdavEntry { mName = tmp[tmp.length - 1]; } + // use unknown mimetype as default behavior + mContentType = "application/octet-stream"; prop = propSet.get(DavPropertyName.GETCONTENTTYPE); if (prop != null) { mContentType = (String) prop.getValue(); @@ -124,7 +126,7 @@ public class WebdavEntry { return mCreateTimestamp; } - public long modifiedTimesamp() { + public long modifiedTimestamp() { return mModifiedTimestamp; }