mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/mp/CurrentMissionMgrImpl.java
private synchronized void tryRemoveProgramInfo(final int systemId, final String programName)
    {
        if (m_CurrentMissions.containsKey(systemId))
        {
            final Set<CurrentMissionModel> models = m_CurrentMissions.get(systemId);
            
            for (CurrentMissionModel model : models)
            {
                if (model.getMissionName().equals(programName))
                {
                    models.remove(model);
                    
                    Logging.log(LogService.LOG_INFO, 
                            "Removing current mission from map, template: %s, mission name: %s", 
                            model.getTemplateName(), model.getMissionName());
                    
                    break;
                }
            }
        }
    }
/**
     * Function to remove a program from the list of known programs.
     * @param systemId
     *  the id of the system on which the to be removed program resides.
     * @param programName
     *  the name of the program that is to be removed.
     */
Function to remove a program from the list of known programs.
@param systemId
the id of the system on which the to be removed program resides.
@param programName
the name of the program that is to be removed.
Function to remove a program from the list of known programs . @param systemId the id of the system on which the to be removed program resides . @param programName the name of the program that is to be removed .
private synchronized void tryRemoveProgramInfo(final int systemId, final String programName)
    {
        if (m_CurrentMissions.containsKey(systemId))
        {
            final Set<CurrentMissionModel> models = m_CurrentMissions.get(systemId);
            for (CurrentMissionModel model : models)
            {
                if (model.getMissionName().equals(programName))
                {
                    models.remove(model);
                    Logging.log(LogService.LOG_INFO, 
                            "Removing current mission from map, template: %s, mission name: %s", 
                            model.getTemplateName(), model.getMissionName());
                    break;
                }
            }
        }
    }
private synchronized void tryRemoveProgramInfo ( final int systemId , final String programName ) { if ( m_CurrentMissions . containsKey ( systemId ) ) { final Set < CurrentMissionModel > models = m_CurrentMissions . get ( systemId ) ; for ( CurrentMissionModel model : models ) { if ( model . getMissionName ( ) . equals ( programName ) ) { models . remove ( model ) ; Logging . log ( LogService . LOG_INFO , "Removing current mission from map, template: %s, mission name: %s" , model . getTemplateName ( ) , model . getMissionName ( ) ) ; break ; } } } }
Function to remove a program from the list of known programs.
Function to remove a program from the list of known programs .