mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
codacy: Perhaps 'user' could be replaced by a local variable.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
56723dc547
commit
8ff2cdcb87
1 changed files with 1 additions and 2 deletions
|
@ -145,7 +145,6 @@ public class ContactListFragment extends FileFragment implements Injectable {
|
|||
|
||||
|
||||
private ContactListAdapter contactListAdapter;
|
||||
private User user;
|
||||
private List<VCard> vCards = new ArrayList<>();
|
||||
private OCFile ocFile;
|
||||
@Inject UserAccountManager accountManager;
|
||||
|
@ -212,7 +211,7 @@ public class ContactListFragment extends FileFragment implements Injectable {
|
|||
|
||||
ocFile = getArguments().getParcelable(FILE_NAME);
|
||||
setFile(ocFile);
|
||||
user = getArguments().getParcelable(USER);
|
||||
User user = getArguments().getParcelable(USER);
|
||||
fileDownloader = new TransferManagerConnection(getActivity(), user);
|
||||
fileDownloader.registerTransferListener(this::onDownloadUpdate);
|
||||
fileDownloader.bind();
|
||||
|
|
Loading…
Reference in a new issue