public void clearUploadTempData ( ) { LOG . debug ( "Cleaning up temp data..." ) ; // delete file system zombies for ( final FileUploadProgress fileUploadProgress : getAllFileUploadProgressValuesFromOverallUploadProcessList ( ) ) { if ( ! StringUtils . isBlank ( fileUploadProgress . getFilePath ( ) ) ) { final boolean deleted = FileUtils . deleteQuietly ( new File ( fileUploadProgress . getFilePath ( ) ) ) ; if ( ! deleted ) { LOG . warn ( "TempFile was not deleted: {}" , fileUploadProgress . getFilePath ( ) ) ; } } } clearFileStates ( ) ; }
Clears all temp data collected while uploading files .