Return values should be as specific as possible.

(Method parameters should be as generic as possible.)


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2093 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2007-04-20 01:37:44 +00:00
parent 7fb65d1851
commit 8973ceeedb
@@ -161,7 +161,7 @@ public class DepotRepository
/**
* Loads all persistent objects that match the specified key.
*/
protected <T extends PersistentRecord, C extends Collection<T>> Collection<T> findAll (
protected <T extends PersistentRecord> ArrayList<T> findAll (
Class<T> type, QueryClause... clauses)
throws PersistenceException
{