/** * Constructor that initializes the editor display options for the workplace.<p> */ public CmsEditorDisplayOptions() { // initialize members m_userMappings = CmsCollectionsGenericWrapper.createLRUMap(SIZE_USERENTRIES); m_loadedConfigurations = CmsCollectionsGenericWrapper.createLRUMap(SIZE_CONFIGURATIONFILES); }
/** * Initializes (also clears) the internal part cache map.<p> * * @return the new created part cache map */ private synchronized Map initPartsMap() { Map cacheParts = CmsCollectionsGenericWrapper.createLRUMap(512); Map oldParts = m_parts; m_parts = Collections.synchronizedMap(cacheParts); if (oldParts != null) { oldParts.clear(); oldParts = null; } return m_parts; } }