There's a perfectly valid replacement in java.util for this as of 1.5.

I haven't deprecated our version in CollectionUtil because it
copes with being passed a null array...


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2799 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray.j.greenwell
2010-07-16 19:03:37 +00:00
parent 0b6b97e8c0
commit 8d28d119db
@@ -27,6 +27,7 @@ import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Collection;
import java.util.Collections;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;
@@ -35,7 +36,6 @@ import javax.swing.table.AbstractTableModel;
import com.samskivert.swing.event.CommandEvent;
import com.samskivert.util.ClassUtil;
import com.samskivert.util.CollectionUtil;
import com.samskivert.util.ListUtil;
import com.samskivert.util.ObjectUtil;
@@ -194,7 +194,7 @@ public class ObjectEditorTable extends JTable
public void setData (Object[] data)
{
_data.clear();
CollectionUtil.addAll(_data, data);
Collections.addAll(_data, data);
_model.fireTableDataChanged();
}