[
https://issues.apache.org/jira/browse/MIME4J-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704753#action_12704753
]
Markus Wiederkehr commented on MIME4J-131:
------------------------------------------
As far as I see the only dependency aside from CodecUtil.copy is class
ByteArrayBuffer from util. ByteArrayBuffer could easily be replaced with
java.io.ByteArrayOutputStream.
The only reason I chose ByteArrayBuffer is because its methods are not
synchronized and it exposes its buffer without having to copy it. The latter
can also be achieved by subclassing ByteArrayOutputStream and providing public
getters for its protected fields. I could live with the synchronized issue.
I'll provide a patch if you like.
> Factor out storage module
> -------------------------
>
> Key: MIME4J-131
> URL: https://issues.apache.org/jira/browse/MIME4J-131
> Project: JAMES Mime4j
> Issue Type: Sub-task
> Affects Versions: 0.7
> Reporter: Robert Burrell Donkin
> Assignee: Robert Burrell Donkin
> Fix For: 0.7
>
>
> Move storage package into separate module.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.