mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-16 22:05:07 -05:00
remove warning about <> cast
This commit is contained in:
parent
fefce2a72b
commit
f021ee8562
@ -47,11 +47,11 @@ public class KnownHostsAdapter extends ArrayAdapter<String> {
|
||||
@Override
|
||||
protected void publishResults(CharSequence constraint,
|
||||
FilterResults results) {
|
||||
ArrayList<String> filteredList = (ArrayList<String>) results.values;
|
||||
ArrayList filteredList = (ArrayList)results.values;
|
||||
if (results != null && results.count > 0) {
|
||||
clear();
|
||||
for (String c : filteredList) {
|
||||
add(c);
|
||||
for (Object c : filteredList) {
|
||||
add((String)c);
|
||||
}
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user