mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Fixed actions config overriding
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,21 +72,21 @@ public class PropertySheetConfigElement extends ConfigElementAdapter
|
||||
*/
|
||||
public ConfigElement combine(ConfigElement configElement)
|
||||
{
|
||||
PropertySheetConfigElement combined = new PropertySheetConfigElement();
|
||||
PropertySheetConfigElement combinedElement = new PropertySheetConfigElement();
|
||||
|
||||
// add all the existing properties
|
||||
for (ItemConfig item : this.getItems().values())
|
||||
{
|
||||
combined.addItem(item);
|
||||
combinedElement.addItem(item);
|
||||
}
|
||||
|
||||
// add all the properties from the given element
|
||||
for (ItemConfig item : ((PropertySheetConfigElement)configElement).getItems().values())
|
||||
{
|
||||
combined.addItem(item);
|
||||
combinedElement.addItem(item);
|
||||
}
|
||||
|
||||
return combined;
|
||||
return combinedElement;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user