You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/07/01 12:55:45 UTC

[Bug 53470] control delete temp files

https://issues.apache.org/bugzilla/show_bug.cgi?id=53470

--- Comment #8 from Massimo Cavalleri <su...@tiscalinet.it> ---
The the temp files not deleted when call write method.

In the SXSSF code there is not a part for this purpose.

There is only _fd.deleteOnExit() in SheetDataWriter class, but is not enough if
the program that use POI not exit from jvm and these files remain on file
system.

For confirm this, in the method write in SXSSFWorkbook class, there is already
tmplFile.delete() for another tmp file.

In conclusion in write method missing the delete on xml's temporary files.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org