Removed reduntant sorter.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9064 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-09-06 03:39:27 +00:00
committed by derek
parent 1ae3d178dd
commit 18adc6cad2

View File

@ -276,13 +276,8 @@ public class ContactGroup extends CollapsiblePane implements MouseListener {
item.setGroupName(getGroupName());
contactItems.add(item);
List<ContactItem> tempItems = getContactItems();
Collections.sort(tempItems, itemComparator);
int index = tempItems.indexOf(item);
final List<ContactItem> sortedItemList = getContactItems();
final int index = sortedItemList.indexOf(item);
Object[] objs = contactItemList.getSelectedValues();