mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
fix codacy warnings after rebase
This commit is contained in:
parent
0d0321b001
commit
8f10f62c51
4 changed files with 2 additions and 5 deletions
|
@ -24,7 +24,6 @@ package com.owncloud.android.operations;
|
|||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.util.Log;
|
||||
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.files.services.FileDownloader;
|
||||
|
|
|
@ -78,7 +78,7 @@ class SyncFolderHandler extends Handler {
|
|||
* @param account ownCloud account where the remote folder is stored.
|
||||
* @param remotePath The path to a folder that could be in the queue of synchronizations.
|
||||
*/
|
||||
boolean isSynchronizing(Account account, String remotePath) {
|
||||
private boolean isSynchronizing(Account account, String remotePath) {
|
||||
if (account == null || remotePath == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ public class EditShareFragment extends Fragment {
|
|||
mShare = getArguments().getParcelable(ARG_SHARE);
|
||||
mFile = getArguments().getParcelable(ARG_FILE);
|
||||
/* OC account holding the shared file, received as a parameter in construction time */
|
||||
Account mAccount = getArguments().getParcelable(ARG_ACCOUNT);
|
||||
//Account mAccount = getArguments().getParcelable(ARG_ACCOUNT);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -52,10 +52,8 @@ import com.owncloud.android.ui.dialog.ShareLinkToDialog;
|
|||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
|
|
Loading…
Reference in a new issue