private void remove(CacheElement.CacheFile want) {
     want.remove();
     files.remove(want.ncfile);
     try {
       want.ncfile.setFileCache(null); // unhook the caching
       want.ncfile.close();
     } catch (IOException e) {
       log.error("close failed on "+want.ncfile.getLocation(), e);
     }
     want.ncfile = null;
  }
private void remove(CacheElement.CacheFile want) {
     want.remove();
     files.remove(want.ncfile);
     try {
       want.ncfile.setFileCache(null); 
       want.ncfile.close();
     } catch (IOException e) {
       log.error("close failed on "+want.ncfile.getLocation(), e);
     }
     want.ncfile = null;
  }
private void remove ( CacheElement . CacheFile want ) { want . remove ( ) ; files . remove ( want . ncfile ) ; try { want . ncfile . setFileCache ( null ) ; // unhook the caching
 want . ncfile . close ( ) ; } catch ( IOException e ) { log . error ( "close failed on " + want . ncfile . getLocation ( ) , e ) ; } want . ncfile = null ; }
LOOK should you remove the entire CacheElement ?
LOOK should you remove the entire CacheElement ?