X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/115268008e337fa9aa82a8b769ca0da4586412f8..05c236ba628b92972ccf7cc0f3c765d04f577b28:/src/com/owncloud/android/datamodel/OCFile.java diff --git a/src/com/owncloud/android/datamodel/OCFile.java b/src/com/owncloud/android/datamodel/OCFile.java index 222746b5..bda6166d 100644 --- a/src/com/owncloud/android/datamodel/OCFile.java +++ b/src/com/owncloud/android/datamodel/OCFile.java @@ -71,7 +71,6 @@ public class OCFile implements Parcelable, Comparable { private boolean mNeedsUpdateThumbnail; private boolean mIsDownloading; - private boolean mIsUploading; /** @@ -116,7 +115,6 @@ public class OCFile implements Parcelable, Comparable { mRemoteId = source.readString(); mNeedsUpdateThumbnail = source.readInt() == 0; mIsDownloading = source.readInt() == 0; - mIsUploading = source.readInt() == 0; } @@ -142,7 +140,6 @@ public class OCFile implements Parcelable, Comparable { dest.writeString(mRemoteId); dest.writeInt(mNeedsUpdateThumbnail ? 1 : 0); dest.writeInt(mIsDownloading ? 1 : 0); - dest.writeInt(mIsUploading ? 1 : 0); } /** @@ -356,7 +353,6 @@ public class OCFile implements Parcelable, Comparable { mRemoteId = null; mNeedsUpdateThumbnail = false; mIsDownloading = false; - mIsUploading = false; } /** @@ -575,14 +571,6 @@ public class OCFile implements Parcelable, Comparable { return mIsDownloading; } - public boolean isUploading() { - return mIsUploading; - } - - public void setUploading(boolean isUploading) { - this.mIsUploading = isUploading; - } - public void setDownloading(boolean isDownloading) { this.mIsDownloading = isDownloading; }