Return values should be as specific as possible.

(Method parameters should be as generic as possible.)
This commit is contained in:
Ray Greenwell
2007-04-20 01:37:44 +00:00
parent 17c6e9a2f6
commit a3e9509cec
@@ -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
{