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:
@@ -161,7 +161,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, C extends Collection<T>> Collection<T> findAll (
|
protected <T extends PersistentRecord> ArrayList<T> findAll (
|
||||||
Class<T> type, QueryClause... clauses)
|
Class<T> type, QueryClause... clauses)
|
||||||
throws PersistenceException
|
throws PersistenceException
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user