mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 08:58:30 +03:00
Fix codacy stuff
This commit is contained in:
parent
e3cf4701f2
commit
449ce15bdf
2 changed files with 0 additions and 6 deletions
|
@ -93,13 +93,10 @@ import com.owncloud.android.utils.DisplayUtils;
|
|||
import com.owncloud.android.utils.ErrorMessageAdapter;
|
||||
import com.owncloud.android.utils.PermissionUtil;
|
||||
|
||||
import org.w3c.dom.Text;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import static com.owncloud.android.R.id.searchView;
|
||||
import static com.owncloud.android.db.PreferenceManager.getSortOrder;
|
||||
|
||||
/**
|
||||
|
|
|
@ -101,7 +101,6 @@ public class ExtendedListFragment extends Fragment
|
|||
private FilterableListAdapter mAdapter;
|
||||
|
||||
private SearchView searchView;
|
||||
private String searchQuery;
|
||||
private Handler handler = new Handler();
|
||||
|
||||
protected void setListAdapter(FilterableListAdapter listAdapter) {
|
||||
|
@ -187,7 +186,6 @@ public class ExtendedListFragment extends Fragment
|
|||
handler.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
searchQuery = query;
|
||||
mAdapter.filter(query);
|
||||
}
|
||||
}, 500);
|
||||
|
@ -196,7 +194,6 @@ public class ExtendedListFragment extends Fragment
|
|||
|
||||
@Override
|
||||
public boolean onQueryTextSubmit(String query) {
|
||||
searchQuery = query;
|
||||
mAdapter.filter(query);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue