mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Big honkin' merge from head. Sheesh!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -107,7 +107,7 @@ public class DictionaryComponent implements DictionaryService
|
||||
*/
|
||||
public Collection<QName> getAllTypes()
|
||||
{
|
||||
Collection<QName> types = new ArrayList<QName>();
|
||||
Collection<QName> types = new ArrayList<QName>(100);
|
||||
for (QName model : getAllModels())
|
||||
{
|
||||
types.addAll(getTypes(model));
|
||||
@@ -136,7 +136,7 @@ public class DictionaryComponent implements DictionaryService
|
||||
*/
|
||||
public Collection<QName> getAllAspects()
|
||||
{
|
||||
Collection<QName> aspects = new ArrayList<QName>();
|
||||
Collection<QName> aspects = new ArrayList<QName>(64);
|
||||
for (QName model : getAllModels())
|
||||
{
|
||||
aspects.addAll(getAspects(model));
|
||||
|
Reference in New Issue
Block a user