public static RecoverableResource removeResource(String name){
  RecoverableResource ret=null;
  if (name != null) {
    ret=(RecoverableResource)resources_.remove(name);
    if (ret != null)     resourceList_.remove(ret);
  }
  return ret;
}

public static RecoverableResource removeResource ( String name ) { RecoverableResource ret = null ; if ( name != null ) { ret = ( RecoverableResource ) resources_ . remove ( name ) ; if ( ret != null ) resourceList_ . remove ( ret ) ; } return ret ; }
removes a resource from the config .
