Sounds good to me.
David Sean Taylor wrote:
Looking at the registry component we are doubling the number of
objects returned per query:
public List getPortletApplications()
{
Criteria c = new Criteria();
List list = new
ArrayList(getPersistenceBrokerTemplate().getCollectionByQuery(
QueryFactory.newQuery(PortletApplicationDefinitionImpl.class, c)));
postLoadColl(list);
return list;
}
any objections to returning a collection instead of list?
seems like OJB always returns Collections and not Lists
--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people."
- Admiral Hyman Rickover
*******************************************
* Scott T. Weaver *
* <[EMAIL PROTECTED]> *
* <http://www.einnovation.com> *
* -------------------------------------- *
* Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container *
* *
* OpenEdit, Website Content Management *
* <http://www.openedit.org> *
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]