legacy/src/main/java/thredds/catalog/InvDatasetImpl.java
public void removeService(InvService service) {
    servicesLocal.remove(service);
    services.remove(service);
    // remove nested servers
    for (InvService nested : service.getServices()) {
      services.remove(nested);
    }
  }
public void removeService(InvService service) {
    servicesLocal.remove(service);
    services.remove(service);
    // remove nested servers
    for (InvService nested : service.getServices()) {
      services.remove(nested);
    }
  }
public void removeService ( InvService service ) { servicesLocal . remove ( service ) ; services . remove ( service ) ; // remove nested servers for ( InvService nested : service . getServices ( ) ) { services . remove ( nested ) ; } }
Remove a service from this dataset.

@param service remove this
@deprecated put services in catalog
Remove a service from this dataset .