fix codacy warnings after rebase

This commit is contained in:
AndyScherzinger 2016-11-09 19:37:18 +01:00
parent 0d0321b001
commit 8f10f62c51
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
4 changed files with 2 additions and 5 deletions

View file

@ -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;

View file

@ -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;
}

View file

@ -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);
}
}

View file

@ -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;