ACE-5052: added comment regarding close() expectations.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@125596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2016-04-19 15:53:24 +00:00
parent d7a5ecfece
commit d5ac8580cd

View File

@@ -199,7 +199,8 @@ public class TextToPdfContentTransformer extends AbstractContentTransformer2
private class PagedTextToPDF extends TextToPDF
{
// The following code is based on the code in TextToPDF with the addition of
// checks for page limits
// checks for page limits.
// The calling code must close the PDDocument once finished with it.
public PDDocument createPDFFromText(Reader text, TransformationOptionPair pageLimits,
String contentUrl) throws IOException
{