diff --git a/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java b/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java index 9983f81c5a..277f201767 100644 --- a/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java +++ b/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java @@ -51,26 +51,21 @@ import lombok.Getter; * Remote DownloadOperation performing the download of a file to an ownCloud server */ public class DownloadFileOperation extends RemoteOperation { - private static final String TAG = DownloadFileOperation.class.getSimpleName(); - @Getter - private Account account; - @Getter - private OCFile file; - @Getter - private String behaviour; + + @Getter private Account account; + @Getter private OCFile file; + @Getter private String behaviour; + @Getter private String etag = ""; + @Getter private String activityName; + @Getter private String packageName; + private Context context; private Set dataTransferListeners = new HashSet<>(); private long modificationTimestamp; - @Getter - private String etag = ""; - private final AtomicBoolean cancellationRequested = new AtomicBoolean(false); - private DownloadFileRemoteOperation downloadOperation; - @Getter - private String activityName; - @Getter - private String packageName; + + private final AtomicBoolean cancellationRequested = new AtomicBoolean(false); public DownloadFileOperation(Account account, OCFile file, String behaviour, String activityName, String packageName, Context context) {