[
https://issues.apache.org/jira/browse/CODEC-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533245
]
Sebb commented on CODEC-55:
---------------------------
Metaphone has setMaxCodeLen(int) which means it is not thread-safe. This could
be fixed the same way as QCodec.
Similarly for DoubleMetaphone. [If that is to be fixed, then the StringBuffers
alternate and primary should really be created in the DoubleMetaphoneResult
constructor using the length that is passed in, as that is used to check the
buffer lengths later...]
> 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: 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.