Bladeren bron

reformatting var declarations

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 6 jaren geleden
bovenliggende
commit
a05ba1a54f
1 gewijzigde bestanden met toevoegingen van 10 en 15 verwijderingen
  1. 10 15
      src/main/java/com/owncloud/android/operations/DownloadFileOperation.java

+ 10 - 15
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<OnDatatransferProgressListener> 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) {