mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V4.1-BUG-FIX to HEAD
42902: Merged DEV to V4.1-BUG-FIX 42519: ALF-13588: Google Doc failed to authenticate after incorrect password being entered for google account Add ability to unregister class behaviours. Unregister googledocs behaviours when subsystem stops. 42903: Merged V3.4-BUG-FIX to V4.1-BUG-FIX 42901: Merged DEV to V3.4-BUG-FIX 42837: ALF-12833: Issues installing Alfresco on WebSphere when the server doesn't have internet access Create servlet-resources.jar(the same as servlet.jar but only with "resources") and add it into alfresco.war git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -82,6 +82,23 @@ import java.util.Map;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove behavior from map
|
||||
*
|
||||
* @param behaviourDefinition
|
||||
*/
|
||||
public void remove(BehaviourDefinition<B> behaviourDefinition)
|
||||
{
|
||||
B binding = behaviourDefinition.getBinding();
|
||||
List<BehaviourDefinition<B>> existing = index.get(binding);
|
||||
if (existing != null && existing.contains(behaviourDefinition))
|
||||
{
|
||||
existing.remove(behaviourDefinition);
|
||||
size--;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets a Behaviour from the Map
|
||||
|
Reference in New Issue
Block a user