diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-09 16:07:54 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-09 16:07:54 +0300 |
commit | f939b737a5d9cfc7efc638abed9f47838f222f17 (patch) | |
tree | 3f0d2b26255440a41b7778f3f2a4bf615305c95d /app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards | |
parent | 879fb4753826e2d96a7f504a4a4637fdec965d93 (diff) |
Chore
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards/ArchivedBoardsActvitiy.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards/ArchivedBoardsActvitiy.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards/ArchivedBoardsActvitiy.java index 98789157d..79aba8d34 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards/ArchivedBoardsActvitiy.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/archivedboards/ArchivedBoardsActvitiy.java @@ -31,8 +31,6 @@ public class ArchivedBoardsActvitiy extends BrandedActivity implements DeleteBoa private ArchivedBoardsAdapter adapter; private SyncManager syncManager; - private Account account; - @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); @@ -44,9 +42,9 @@ public class ArchivedBoardsActvitiy extends BrandedActivity implements DeleteBoa throw new IllegalArgumentException("Please provide at least " + BUNDLE_KEY_ACCOUNT); } - this.account = (Account) args.getSerializable(BUNDLE_KEY_ACCOUNT); + final Account account = (Account) args.getSerializable(BUNDLE_KEY_ACCOUNT); - if (this.account == null) { + if (account == null) { throw new IllegalArgumentException(BUNDLE_KEY_ACCOUNT + " must not be null."); } |