mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-15 15:02:20 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104506: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 104357: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2) 104292: Merged DEV to V4.2-BUG-FIX (4.2.5) 104235: MNT-13951 : Please use LinkedHashMap in EnumParameterConstraint.java to take control on selectone.ftl's dropdown list options order - Changed collection type from HashMap to LinkedHashMap. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104637 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
package org.alfresco.repo.action.constraint;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.dictionary.AspectDefinition;
|
||||
@@ -50,7 +50,7 @@ public class AspectParameterConstraint extends BaseParameterConstraint
|
||||
protected Map<String, String> getAllowableValuesImpl()
|
||||
{
|
||||
Collection<QName> aspects = dictionaryService.getAllAspects();
|
||||
Map<String, String> result = new HashMap<String, String>(aspects.size());
|
||||
Map<String, String> result = new LinkedHashMap<String, String>(aspects.size());
|
||||
for (QName aspect : aspects)
|
||||
{
|
||||
AspectDefinition aspectDef = dictionaryService.getAspect(aspect);
|
||||
|
Reference in New Issue
Block a user