go ahead with copy/override, I think is a nice idea.

best,
-Simo

http://people.apache.org/~simonetripodi/
http://twitter.com/simonetripodi


On Tue, Jun 18, 2013 at 9:06 PM, Benedikt Ritter <[email protected]> wrote:
>
> Am 16.06.2013 um 13:46 schrieb Benedikt Ritter <[email protected]>:
>
>>
>> Am 15.06.2013 um 15:52 schrieb Benedikt Ritter <[email protected]>:
>>
>>>
>>> Am 14.06.2013 um 22:36 schrieb Benedikt Ritter <[email protected]>:
>>>
>>>> Hi,
>>>>
>>>> the o.a.c.chain2.generic.CopyCommand IMHO really implements two commands:
>>>>
>>>> * a CopyCommand that copies a value from one key to another
>>>> * an OverrideCommand, that overrides a value with a provided value.
>>>
>>> We could even extract a RemoveCommand from CopyCommand. A RemoveCommand 
>>> simply removes getKey() from the context.
>>
>> I have created CHAIN-91 [1] for this. If no one objects, I'll implement this 
>> tonight.
>
> Just realized we already have a RemoveCommand… So no need to reimplement it. 
> I think is makes sense to remove the "remove"-functionality from CopyCommand 
> then...
>
>>
>> Benedikt
>>
>> [1] https://issues.apache.org/jira/browse/CHAIN-91
>>
>>>
>>>>
>>>> What do you think about splitting this up into two separate classes?
>>>>
>>>> Regards,
>>>> Benedikt
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to