Hello,
I do not understand why PdfWriter.close(), being called by PdfDocument.close(), recursively calls once more PdfDocument.close().
Or can PdfWriter.close() be called from other objects than PdfDocument ?
In this case, should there be not a bit more comment at the start of PdfDocument.close() ?
source:
itext-src-1.1.tar.gz
com.lowagie.text.pdf.PdfDocument.java
public void close() {
//any statements before 'if (close)..' could be executed twice
if (close) {
return;
}
....
writer.close();
}Thanks, Herman Vierendeels
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
