mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +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.ErrorMessageAdapter;
|
||||||
import com.owncloud.android.utils.PermissionUtil;
|
import com.owncloud.android.utils.PermissionUtil;
|
||||||
|
|
||||||
import org.w3c.dom.Text;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
import static com.owncloud.android.R.id.searchView;
|
|
||||||
import static com.owncloud.android.db.PreferenceManager.getSortOrder;
|
import static com.owncloud.android.db.PreferenceManager.getSortOrder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -101,7 +101,6 @@ public class ExtendedListFragment extends Fragment
|
||||||
private FilterableListAdapter mAdapter;
|
private FilterableListAdapter mAdapter;
|
||||||
|
|
||||||
private SearchView searchView;
|
private SearchView searchView;
|
||||||
private String searchQuery;
|
|
||||||
private Handler handler = new Handler();
|
private Handler handler = new Handler();
|
||||||
|
|
||||||
protected void setListAdapter(FilterableListAdapter listAdapter) {
|
protected void setListAdapter(FilterableListAdapter listAdapter) {
|
||||||
|
@ -187,7 +186,6 @@ public class ExtendedListFragment extends Fragment
|
||||||
handler.postDelayed(new Runnable() {
|
handler.postDelayed(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
searchQuery = query;
|
|
||||||
mAdapter.filter(query);
|
mAdapter.filter(query);
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
|
@ -196,7 +194,6 @@ public class ExtendedListFragment extends Fragment
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextSubmit(String query) {
|
public boolean onQueryTextSubmit(String query) {
|
||||||
searchQuery = query;
|
|
||||||
mAdapter.filter(query);
|
mAdapter.filter(query);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue