ASF Bugzilla – Attachment 29018 Details for
Bug 53493
delete xml's temporary files when write workbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for delete xml's temporary files when write workbook
deleteOnWriteWb.patch (text/plain), 811 bytes, created by
Massimo Cavalleri
on 2012-07-01 15:19:55 UTC
(
hide
)
Description:
patch for delete xml's temporary files when write workbook
Filename:
MIME Type:
Creator:
Massimo Cavalleri
Created:
2012-07-01 15:19:55 UTC
Size:
811 bytes
patch
obsolete
>--- SXSSFWorkbook.old.java 2012-06-28 15:33:04.941002255 +0200 >+++ SXSSFWorkbook.java 2012-06-28 15:18:22.000000000 +0200 >@@ -764,6 +764,12 @@ > //Substitute the template entries with the generated sheet data files > injectData(tmplFile, stream); > tmplFile.delete(); >+ >+ //Ing. Massimo Cavalleri - Delete tmpFiles of Sheets >+ for (SXSSFSheet sheet : _xFromSxHash.values()) >+ { >+ sheet.getSheetDataWriter().finalize(); >+ } > } > > /** >--- SheetDataWriter.old.java 2012-06-28 15:32:51.965002529 +0200 >+++ SheetDataWriter.java 2012-06-28 15:18:02.000000000 +0200 >@@ -103,7 +103,7 @@ > return _lowestIndexOfFlushedRows; > } > >- protected void finalize() throws Throwable { >+ protected void finalize() { > _fd.delete(); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 53493
: 29018 |
29032