mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/CurrentMissionMgrImpl.java
private synchronized CurrentMissionModel findProgramInfo(final String missionName, final int systemId)
    {
        if (m_CurrentMissions.get(systemId) != null)
        {
            for (CurrentMissionModel info : m_CurrentMissions.get(systemId))
            {
                if (info.getMissionName().equals(missionName))
                {
                    return info;
                }
            }
        }
            
        return null;
    }
/**
     * Function finds a specific mission model object based on the mission name and system id
     * passed in.
     * @param missionName
     *  the name of the mission to identify the correct program info object
     * @param systemId
     *  the id of the system to which the program info object should belong
     * @return
     *  returns a {@link CurrentMissionModel} object if found; otherwise null is returned
     */
Function finds a specific mission model object based on the mission name and system id
passed in.
@param missionName
the name of the mission to identify the correct program info object
@param systemId
the id of the system to which the program info object should belong
@return
returns a  CurrentMissionModel object if found; otherwise null is returned
Function finds a specific mission model object based on the mission name and system id passed in . @param missionName the name of the mission to identify the correct program info object @param systemId the id of the system to which the program info object should belong @return returns a CurrentMissionModel object if found ; otherwise null is returned
private synchronized CurrentMissionModel findProgramInfo(final String missionName, final int systemId)
    {
        if (m_CurrentMissions.get(systemId) != null)
        {
            for (CurrentMissionModel info : m_CurrentMissions.get(systemId))
            {
                if (info.getMissionName().equals(missionName))
                {
                    return info;
                }
            }
        }
        return null;
    }
private synchronized CurrentMissionModel findProgramInfo ( final String missionName , final int systemId ) { if ( m_CurrentMissions . get ( systemId ) != null ) { for ( CurrentMissionModel info : m_CurrentMissions . get ( systemId ) ) { if ( info . getMissionName ( ) . equals ( missionName ) ) { return info ; } } } return null ; }
Function finds a specific mission model object based on the mission name and system id
 passed in.
Function finds a specific mission model object based on the mission name and system id passed in .