mirror of
https://github.com/nextcloud/android.git
synced 2024-11-30 08:25:21 +03:00
codacy: don't assign null
This commit is contained in:
parent
4170370f63
commit
0275b81c7b
2 changed files with 0 additions and 9 deletions
|
@ -48,14 +48,10 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|||
* @param path Full path of the file/folder being shared. Mandatory argument
|
||||
*/
|
||||
public UpdateShareViaLinkOperation(String path) {
|
||||
|
||||
mPath = path;
|
||||
mPassword = null;
|
||||
mExpirationDateInMillis = 0;
|
||||
mPublicUpload = null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set password to update in public link.
|
||||
*
|
||||
|
@ -67,7 +63,6 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|||
mPassword = password;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set expiration date to update in Share resource.
|
||||
*
|
||||
|
@ -90,7 +85,6 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|||
mPublicUpload = publicUpload;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected RemoteOperationResult run(OwnCloudClient client) {
|
||||
|
||||
|
@ -157,6 +151,5 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|||
getStorageManager().saveFile(file);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -89,8 +89,6 @@ public class SendShareDialog extends BottomSheetDialogFragment {
|
|||
// keep the state of the fragment on configuration changes
|
||||
setRetainInstance(true);
|
||||
|
||||
view = null;
|
||||
|
||||
file = getArguments().getParcelable(KEY_OCFILE);
|
||||
hideNcSharingOptions = getArguments().getBoolean(KEY_HIDE_NCSHARING_OPTIONS, false);
|
||||
sharingPublicPasswordEnforced = getArguments().getBoolean(KEY_SHARING_PUBLIC_PASSWORD_ENFORCED, false);
|
||||
|
|
Loading…
Reference in a new issue