mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/configuration/ConfigPageDisplayHelperImpl.java
private PanelCollapsedStatus createPanelStatus(final int controllerId, final String pid)
    {
        if (!m_ConfigPanelCollapsedStatus.containsKey(controllerId)) //NOPMD - avoid x!=y 
        {                                                            //arranging order would be less readable
            m_ConfigPanelCollapsedStatus.put(controllerId, new HashMap<String, PanelCollapsedStatus>());
            m_ConfigPanelCollapsedStatus.get(controllerId).put(pid, new PanelCollapsedStatus());
        }
        else if (!m_ConfigPanelCollapsedStatus.get(controllerId).containsKey(pid))
        {   
            m_ConfigPanelCollapsedStatus.get(controllerId).put(pid, new PanelCollapsedStatus());
        }
        return m_ConfigPanelCollapsedStatus.get(controllerId).get(pid);
    }
/**
     * Method that creates a panel status for the specified configuration if it doesn't already exist.
     * 
     * @param controllerId
     *      ID of the controller the configuration is located on.
     * @param pid
     *      PID of the configuration the status will belong to.
     * @return
     *      Newly created {@link PanelCollapsedStatus} object. It is first added to the map before being returned.
     */
Method that creates a panel status for the specified configuration if it doesn't already exist.

@param controllerId
ID of the controller the configuration is located on.
@param pid
PID of the configuration the status will belong to.
@return
Newly created  PanelCollapsedStatus object. It is first added to the map before being returned.
Method that creates a panel status for the specified configuration if it doesn ' t already exist . @param controllerId ID of the controller the configuration is located on . @param pid PID of the configuration the status will belong to . @return Newly created PanelCollapsedStatus object . It is first added to the map before being returned .
private PanelCollapsedStatus createPanelStatus(final int controllerId, final String pid)
    {
        if (!m_ConfigPanelCollapsedStatus.containsKey(controllerId)) 
        {                                                            
            m_ConfigPanelCollapsedStatus.put(controllerId, new HashMap<String, PanelCollapsedStatus>());
            m_ConfigPanelCollapsedStatus.get(controllerId).put(pid, new PanelCollapsedStatus());
        }
        else if (!m_ConfigPanelCollapsedStatus.get(controllerId).containsKey(pid))
        {   
            m_ConfigPanelCollapsedStatus.get(controllerId).put(pid, new PanelCollapsedStatus());
        }
        return m_ConfigPanelCollapsedStatus.get(controllerId).get(pid);
    }
private PanelCollapsedStatus createPanelStatus ( final int controllerId , final String pid ) { if ( ! m_ConfigPanelCollapsedStatus . containsKey ( controllerId ) ) { m_ConfigPanelCollapsedStatus . put ( controllerId , new HashMap < String , PanelCollapsedStatus > ( ) ) ; m_ConfigPanelCollapsedStatus . get ( controllerId ) . put ( pid , new PanelCollapsedStatus ( ) ) ; } else if ( ! m_ConfigPanelCollapsedStatus . get ( controllerId ) . containsKey ( pid ) ) { m_ConfigPanelCollapsedStatus . get ( controllerId ) . put ( pid , new PanelCollapsedStatus ( ) ) ; } return m_ConfigPanelCollapsedStatus . get ( controllerId ) . get ( pid ) ; }
Method that creates a panel status for the specified configuration if it doesn't already exist.
Method that creates a panel status for the specified configuration if it doesn ' t already exist .
//NOPMD - avoid x!=y  //arranging order would be less readable