[
https://issues.apache.org/jira/browse/CODEC-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533492
]
Qingtian Wang commented on CODEC-55:
------------------------------------
Agreed, it should be thread safe, if that is a supported biz method at all.
Sorry I wasn't being clear, by saying thread-unsafe, I assumed the
encode(String in, String charset) impl internally changes the value of
"this.charset" field to be something else on the currently object, which is of
course a laughable implementation. I was just using it as an example to present
the case where less biz operations should be supported, to make the matter as
simple as can be.
> make all "business" method implementations of public API thread safe
> ---------------------------------------------------------------------
>
> Key: CODEC-55
> URL: https://issues.apache.org/jira/browse/CODEC-55
> Project: Commons Codec
> Issue Type: Wish
> Reporter: Qingtian Wang
> Attachments: concurrentCodecs.diff, concurrentQDiff.diff,
> urlcodec.patch
>
>
> Maybe most of the implementations are already thread safe. Just such that
> codec can say so in general...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.