[ 
https://issues.apache.org/jira/browse/CODEC-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533444
 ] 

James Carman commented on CODEC-55:
-----------------------------------

How about exposing a method that takes all the necessary parameters?  Or, to 
avoid the problem where adding a new parameter changes the method signature in 
the future, create a parameters class.

public String encode(String original, QCodecParameters params)
{ 
}

This could be a static method, really.  There's no need for an instance at all 
in this case.  

> 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.

Reply via email to