public static void cleanUpCustomTempDirectories(){
  if (tempDirectoryList != null) {
    log.info("Removing custom temp directories");
    try {
      for (      File tempFile : tempDirectoryList)       if (tempFile.exists()) {
        log.info("Deleting : " + tempFile.getCanonicalPath());
        deleteDirectory(tempFile);
      }
      tempDirectoryList.clear();
    }
 catch (    IOException e) {
      e.printStackTrace();
    }
  }
 else   log.info("No custom temp directory created.");
  log.info("Finished removing custom temp directories");
}

public static void cleanUpCustomTempDirectories ( ) { if ( tempDirectoryList != null ) { log . info ( "Removing custom temp directories" ) ; try { for ( File tempFile : tempDirectoryList ) if ( tempFile . exists ( ) ) { log . info ( "Deleting : " + tempFile . getCanonicalPath ( ) ) ; deleteDirectory ( tempFile ) ; } tempDirectoryList . clear ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } else log . info ( "No custom temp directory created." ) ; log . info ( "Finished removing custom temp directories" ) ; }
removes the custom temp directories
