List is as specific as we want to be here.

This commit is contained in:
Ray Greenwell
2007-04-20 01:56:43 +00:00
parent a3e9509cec
commit d6a4f3fe6f
@@ -27,6 +27,7 @@ import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.List;
import java.util.Map; import java.util.Map;
import com.samskivert.io.PersistenceException; import com.samskivert.io.PersistenceException;
@@ -161,7 +162,7 @@ public class DepotRepository
/** /**
* Loads all persistent objects that match the specified key. * Loads all persistent objects that match the specified key.
*/ */
protected <T extends PersistentRecord> ArrayList<T> findAll ( protected <T extends PersistentRecord> List<T> findAll (
Class<T> type, QueryClause... clauses) Class<T> type, QueryClause... clauses)
throws PersistenceException throws PersistenceException
{ {