mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/comms/CommsMgrImpl.java
private synchronized void removeObsoleteLayerHelper(final List<UUID> newUuids, 
            final List<? extends FactoryBaseModel> layerList)    
    {
        if (newUuids.size() < layerList.size())
        { 
            //get all the current UUIDs in the given layers list
            final List<UUID> currentUuids = getAllLayerUuids(layerList);
            removeModel(newUuids, currentUuids, layerList);            
        }
    }
/**
     * Helper method for removing obsolete layers from the given list of layers.  
     * The given list of UUIDs corresponds to the new list of layers received.  
     * @param newUuids
     *      list of UUIDs corresponding to the new list of layers received
     * @param layerList
     *      list of layers potentially containing obsolete layers
     *      
     */
Helper method for removing obsolete layers from the given list of layers.
The given list of UUIDs corresponds to the new list of layers received.
@param newUuids
list of UUIDs corresponding to the new list of layers received
@param layerList
list of layers potentially containing obsolete layers
Helper method for removing obsolete layers from the given list of layers . The given list of UUIDs corresponds to the new list of layers received . @param newUuids list of UUIDs corresponding to the new list of layers received @param layerList list of layers potentially containing obsolete layers
private synchronized void removeObsoleteLayerHelper(final List<UUID> newUuids, 
            final List<? extends FactoryBaseModel> layerList)    
    {
        if (newUuids.size() < layerList.size())
        { 
            final List<UUID> currentUuids = getAllLayerUuids(layerList);
            removeModel(newUuids, currentUuids, layerList);            
        }
    }
private synchronized void removeObsoleteLayerHelper ( final List < UUID > newUuids , final List < ? extends FactoryBaseModel > layerList ) { if ( newUuids . size ( ) < layerList . size ( ) ) { final List < UUID > currentUuids = getAllLayerUuids ( layerList ) ; removeModel ( newUuids , currentUuids , layerList ) ; } }
Helper method for removing obsolete layers from the given list of layers.
Helper method for removing obsolete layers from the given list of layers .
//get all the current UUIDs in the given layers list