mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/AssetPageDisplayHelperImpl.java
private ActiveCommandIndexHolder createAssetCommandIndex(final int controllerId, final UUID uuid)
    {
        final ActiveCommandIndexHolder commandIndexHolder = new ActiveCommandIndexHolder();  
        if (!m_AccordionIndex.containsKey(controllerId)) //NOPMD - avoid x!=y - arranging order would be less readable
        {
            m_AccordionIndex.put(controllerId, new HashMap<UUID, ActiveCommandIndexHolder>());
            m_AccordionIndex.get(controllerId).put(uuid, commandIndexHolder);
        }
        else if (!m_AccordionIndex.get(controllerId).containsKey(uuid))
        {   
            m_AccordionIndex.get(controllerId).put(uuid, commandIndexHolder);
        }
        return m_AccordionIndex.get(controllerId).get(uuid);
    }
/**
     * Method that creates the {@link ActiveCommandIndexHolder} which represents the currently active components 
     * for an asset.
     * @param controllerId
     *              ID of the controller where the asset is located.
     * @param uuid
     *              UUID of the asset to retrieve the {@link ActiveIndexHolder} object
     * @return
     *              {@link ActiveCommandIndexHolder} which holds the current active 
     *              indexes of components for that asset.
     */
Method that creates the  ActiveCommandIndexHolder which represents the currently active components
for an asset.
@param controllerId
ID of the controller where the asset is located.
@param uuid
UUID of the asset to retrieve the  ActiveIndexHolder object
@return
ActiveCommandIndexHolder which holds the current active
indexes of components for that asset.
Method that creates the ActiveCommandIndexHolder which represents the currently active components for an asset . @param controllerId ID of the controller where the asset is located . @param uuid UUID of the asset to retrieve the ActiveIndexHolder object @return ActiveCommandIndexHolder which holds the current active indexes of components for that asset .
private ActiveCommandIndexHolder createAssetCommandIndex(final int controllerId, final UUID uuid)
    {
        final ActiveCommandIndexHolder commandIndexHolder = new ActiveCommandIndexHolder();  
        if (!m_AccordionIndex.containsKey(controllerId)) 
        {
            m_AccordionIndex.put(controllerId, new HashMap<UUID, ActiveCommandIndexHolder>());
            m_AccordionIndex.get(controllerId).put(uuid, commandIndexHolder);
        }
        else if (!m_AccordionIndex.get(controllerId).containsKey(uuid))
        {   
            m_AccordionIndex.get(controllerId).put(uuid, commandIndexHolder);
        }
        return m_AccordionIndex.get(controllerId).get(uuid);
    }
private ActiveCommandIndexHolder createAssetCommandIndex ( final int controllerId , final UUID uuid ) { final ActiveCommandIndexHolder commandIndexHolder = new ActiveCommandIndexHolder ( ) ; if ( ! m_AccordionIndex . containsKey ( controllerId ) ) { m_AccordionIndex . put ( controllerId , new HashMap < UUID , ActiveCommandIndexHolder > ( ) ) ; m_AccordionIndex . get ( controllerId ) . put ( uuid , commandIndexHolder ) ; } else if ( ! m_AccordionIndex . get ( controllerId ) . containsKey ( uuid ) ) { m_AccordionIndex . get ( controllerId ) . put ( uuid , commandIndexHolder ) ; } return m_AccordionIndex . get ( controllerId ) . get ( uuid ) ; }
Method that creates the {@link ActiveCommandIndexHolder} which represents the currently active components
 for an asset.
Method that creates the { @link ActiveCommandIndexHolder } which represents the currently active components for an asset .
//NOPMD - avoid x!=y - arranging order would be less readable