mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/configuration/SystemMetaTypeMgrImpl.java
private void handleBundleRemoved(final List<MetaTypeModel> modelList, final long bundleId)
    {
        final List<MetaTypeModel> removeModelList = new ArrayList<MetaTypeModel>();
        //Check the list for all service models with the specified bundle ID and add the index to the removeIndexList.
        for (MetaTypeModel model: modelList)
        {
            if (model.getBundleId() == bundleId)
            {
                removeModelList.add(model);
            }
        }
        //Remove all service models in the list with the indexes found above.
        for (MetaTypeModel model: removeModelList)
        {
            modelList.remove(model);
        }
    }
/**
     * Method that is called when a bundle removed event is received. This method finds all meta type models
     * with the bundle ID of the bundle that was removed. It then removes all models with the specified bundle ID from
     * list.
     * 
     * @param modelList
     *          List of services to be checked. 
     * @param bundleId
     *          ID of the bundle that was removed.
     */
Method that is called when a bundle removed event is received. This method finds all meta type models
with the bundle ID of the bundle that was removed. It then removes all models with the specified bundle ID from
list.

@param modelList
List of services to be checked.
@param bundleId
ID of the bundle that was removed.
Method that is called when a bundle removed event is received . This method finds all meta type models with the bundle ID of the bundle that was removed . It then removes all models with the specified bundle ID from list . @param modelList List of services to be checked . @param bundleId ID of the bundle that was removed .
private void handleBundleRemoved(final List<MetaTypeModel> modelList, final long bundleId)
    {
        final List<MetaTypeModel> removeModelList = new ArrayList<MetaTypeModel>();
        for (MetaTypeModel model: modelList)
        {
            if (model.getBundleId() == bundleId)
            {
                removeModelList.add(model);
            }
        }
        for (MetaTypeModel model: removeModelList)
        {
            modelList.remove(model);
        }
    }
private void handleBundleRemoved ( final List < MetaTypeModel > modelList , final long bundleId ) { final List < MetaTypeModel > removeModelList = new ArrayList < MetaTypeModel > ( ) ; for ( MetaTypeModel model : modelList ) { if ( model . getBundleId ( ) == bundleId ) { removeModelList . add ( model ) ; } } for ( MetaTypeModel model : removeModelList ) { modelList . remove ( model ) ; } }
Method that is called when a bundle removed event is received.
Method that is called when a bundle removed event is received .
//Check the list for all service models with the specified bundle ID and add the index to the removeIndexList. //Remove all service models in the list with the indexes found above.