protected void freeResource(Object resource){
  freed.add(resource);
}

protected void freeResource ( Object resource ) { freed . add ( resource ) ; }
frees a resource and performs any clean - up required to manage the resource
