Fix codacy stuff

This commit is contained in:
Mario Danic 2017-02-15 09:03:19 +01:00 committed by AndyScherzinger
parent e3cf4701f2
commit 449ce15bdf
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 0 additions and 6 deletions

View file

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

View file

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