Benedikt Ritter created CHAIN-96:
------------------------------------

             Summary: Make base command implementations in o.a.c.chain2.base 
thread safe
                 Key: CHAIN-96
                 URL: https://issues.apache.org/jira/browse/CHAIN-96
             Project: Commons Chain
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Benedikt Ritter
             Fix For: 2.0


The base classes in o.a.c.chain2.base are not thread safe. Since the JavaDoc of 
o.a.c.chain2.Command says that command implementations have to be thread safe, 
we should make sure that this is the case for the base implemenations we 
provide.

One possibility is to initialize all fields through the constructor.
Another solution is not to use fields, but to obtain required by the commands 
from the context.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to