Description
The AttachmentSerializer class gets in the writeAttachments() and InputStream from the DataHandler and calls the encodeBase64(..) method.
However, it does not close the InputStream.
Instead a try-with-resource approach should be used here
Attachments
Issue Links
- links to