Loading src/com/owncloud/android/lib/common/network/WebdavUtils.java +0 −2 Original line number Diff line number Diff line Loading @@ -99,8 +99,6 @@ public class WebdavUtils { propSet.add(DavPropertyName.GETLASTMODIFIED); propSet.add(DavPropertyName.CREATIONDATE); propSet.add(DavPropertyName.GETETAG); propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_USED_BYTES)); propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_AVAILABLE_BYTES)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_PERMISSIONS, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_REMOTE_ID, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_SIZE, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); Loading src/com/owncloud/android/lib/common/utils/WebDavFileUtils.java +0 −2 Original line number Diff line number Diff line Loading @@ -94,8 +94,6 @@ public class WebDavFileUtils { file.setPermissions(we.permissions()); file.setRemoteId(we.remoteId()); file.setSize(we.size()); file.setQuotaUsedBytes(we.quotaUsedBytes()); file.setQuotaAvailableBytes(we.quotaAvailableBytes()); file.setFavorite(we.isFavorite()); return file; } Loading src/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java +0 −2 Original line number Diff line number Diff line Loading @@ -170,8 +170,6 @@ public class ReadRemoteFolderOperation extends RemoteOperation { file.setPermissions(we.permissions()); file.setRemoteId(we.remoteId()); file.setSize(we.size()); file.setQuotaUsedBytes(we.quotaUsedBytes()); file.setQuotaAvailableBytes(we.quotaAvailableBytes()); file.setFavorite(we.isFavorite()); file.setIsEncrypted(we.isEncrypted()); return file; Loading src/com/owncloud/android/lib/resources/files/RemoteFile.java +0 −19 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ import android.os.Parcelable; import com.owncloud.android.lib.common.network.WebdavEntry; import java.io.Serializable; import java.math.BigDecimal; /** * Contains the data of a Remote File from a WebDavEntry. Loading @@ -53,8 +52,6 @@ public class RemoteFile implements Parcelable, Serializable { private String mPermissions; private String mRemoteId; private long mSize; private BigDecimal mQuotaUsedBytes; private BigDecimal mQuotaAvailableBytes; private boolean mIsFavorite; private boolean mIsEncrypted; Loading Loading @@ -150,14 +147,6 @@ public class RemoteFile implements Parcelable, Serializable { mSize = size; } public void setQuotaUsedBytes(BigDecimal quotaUsedBytes) { mQuotaUsedBytes = quotaUsedBytes; } public void setQuotaAvailableBytes(BigDecimal quotaAvailableBytes) { mQuotaAvailableBytes = quotaAvailableBytes; } public RemoteFile() { resetData(); } Loading Loading @@ -187,8 +176,6 @@ public class RemoteFile implements Parcelable, Serializable { this.setPermissions(we.permissions()); this.setRemoteId(we.remoteId()); this.setSize(we.size()); this.setQuotaUsedBytes(we.quotaUsedBytes()); this.setQuotaAvailableBytes(we.quotaAvailableBytes()); this.setFavorite(we.isFavorite()); } Loading @@ -205,8 +192,6 @@ public class RemoteFile implements Parcelable, Serializable { mPermissions = null; mRemoteId = null; mSize = 0; mQuotaUsedBytes = null; mQuotaAvailableBytes = null; mIsFavorite = false; mIsEncrypted = false; } Loading Loading @@ -247,8 +232,6 @@ public class RemoteFile implements Parcelable, Serializable { mPermissions = source.readString(); mRemoteId = source.readString(); mSize = source.readLong(); mQuotaUsedBytes = (BigDecimal) source.readSerializable(); mQuotaAvailableBytes = (BigDecimal) source.readSerializable(); mIsFavorite = Boolean.parseBoolean(source.readString()); mIsEncrypted = Boolean.parseBoolean(source.readString()); } Loading @@ -269,8 +252,6 @@ public class RemoteFile implements Parcelable, Serializable { dest.writeString(mPermissions); dest.writeString(mRemoteId); dest.writeLong(mSize); dest.writeSerializable(mQuotaUsedBytes); dest.writeSerializable(mQuotaAvailableBytes); dest.writeString(Boolean.toString(mIsFavorite)); dest.writeString(Boolean.toString(mIsEncrypted)); } Loading Loading
src/com/owncloud/android/lib/common/network/WebdavUtils.java +0 −2 Original line number Diff line number Diff line Loading @@ -99,8 +99,6 @@ public class WebdavUtils { propSet.add(DavPropertyName.GETLASTMODIFIED); propSet.add(DavPropertyName.CREATIONDATE); propSet.add(DavPropertyName.GETETAG); propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_USED_BYTES)); propSet.add(DavPropertyName.create(WebdavEntry.PROPERTY_QUOTA_AVAILABLE_BYTES)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_PERMISSIONS, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_REMOTE_ID, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); propSet.add(WebdavEntry.EXTENDED_PROPERTY_NAME_SIZE, Namespace.getNamespace(WebdavEntry.NAMESPACE_OC)); Loading
src/com/owncloud/android/lib/common/utils/WebDavFileUtils.java +0 −2 Original line number Diff line number Diff line Loading @@ -94,8 +94,6 @@ public class WebDavFileUtils { file.setPermissions(we.permissions()); file.setRemoteId(we.remoteId()); file.setSize(we.size()); file.setQuotaUsedBytes(we.quotaUsedBytes()); file.setQuotaAvailableBytes(we.quotaAvailableBytes()); file.setFavorite(we.isFavorite()); return file; } Loading
src/com/owncloud/android/lib/resources/files/ReadRemoteFolderOperation.java +0 −2 Original line number Diff line number Diff line Loading @@ -170,8 +170,6 @@ public class ReadRemoteFolderOperation extends RemoteOperation { file.setPermissions(we.permissions()); file.setRemoteId(we.remoteId()); file.setSize(we.size()); file.setQuotaUsedBytes(we.quotaUsedBytes()); file.setQuotaAvailableBytes(we.quotaAvailableBytes()); file.setFavorite(we.isFavorite()); file.setIsEncrypted(we.isEncrypted()); return file; Loading
src/com/owncloud/android/lib/resources/files/RemoteFile.java +0 −19 Original line number Diff line number Diff line Loading @@ -30,7 +30,6 @@ import android.os.Parcelable; import com.owncloud.android.lib.common.network.WebdavEntry; import java.io.Serializable; import java.math.BigDecimal; /** * Contains the data of a Remote File from a WebDavEntry. Loading @@ -53,8 +52,6 @@ public class RemoteFile implements Parcelable, Serializable { private String mPermissions; private String mRemoteId; private long mSize; private BigDecimal mQuotaUsedBytes; private BigDecimal mQuotaAvailableBytes; private boolean mIsFavorite; private boolean mIsEncrypted; Loading Loading @@ -150,14 +147,6 @@ public class RemoteFile implements Parcelable, Serializable { mSize = size; } public void setQuotaUsedBytes(BigDecimal quotaUsedBytes) { mQuotaUsedBytes = quotaUsedBytes; } public void setQuotaAvailableBytes(BigDecimal quotaAvailableBytes) { mQuotaAvailableBytes = quotaAvailableBytes; } public RemoteFile() { resetData(); } Loading Loading @@ -187,8 +176,6 @@ public class RemoteFile implements Parcelable, Serializable { this.setPermissions(we.permissions()); this.setRemoteId(we.remoteId()); this.setSize(we.size()); this.setQuotaUsedBytes(we.quotaUsedBytes()); this.setQuotaAvailableBytes(we.quotaAvailableBytes()); this.setFavorite(we.isFavorite()); } Loading @@ -205,8 +192,6 @@ public class RemoteFile implements Parcelable, Serializable { mPermissions = null; mRemoteId = null; mSize = 0; mQuotaUsedBytes = null; mQuotaAvailableBytes = null; mIsFavorite = false; mIsEncrypted = false; } Loading Loading @@ -247,8 +232,6 @@ public class RemoteFile implements Parcelable, Serializable { mPermissions = source.readString(); mRemoteId = source.readString(); mSize = source.readLong(); mQuotaUsedBytes = (BigDecimal) source.readSerializable(); mQuotaAvailableBytes = (BigDecimal) source.readSerializable(); mIsFavorite = Boolean.parseBoolean(source.readString()); mIsEncrypted = Boolean.parseBoolean(source.readString()); } Loading @@ -269,8 +252,6 @@ public class RemoteFile implements Parcelable, Serializable { dest.writeString(mPermissions); dest.writeString(mRemoteId); dest.writeLong(mSize); dest.writeSerializable(mQuotaUsedBytes); dest.writeSerializable(mQuotaAvailableBytes); dest.writeString(Boolean.toString(mIsFavorite)); dest.writeString(Boolean.toString(mIsEncrypted)); } Loading