Re: [picocontainer-dev] ConfigParameterTestCase / ConfigParameter
Paul Hammant <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Konstantin,
These are mostly one-line converters. They are barely worth of a
class at all.
If Sun had thought a bit longer, all those JDK classes all would
implement --
StringConvertible<T> {
T convert(String textForm);
}
... and we would not be dealing with the even the 800 byte inner class.
I'd prefer to fork those from XStream (if we could not recreate them
without reference to XStreams source), and get Joe/Jörg/Mauro's
approval for the license change for those classes than depend on
*any* jar for this trivial task. Not that the XStream ones are
perfect - they have a redundant method for us.
- Paul
On Nov 11, 2007, at 4:17 AM, Konstantin Priblouda wrote:
>
> --- Paul Hammant <[email protected]> wrote:
>
>> I've a patch that's a step in the right
>> direction....
>>
>> It ...
>>
>> 1) abolishes the type conversion stuff that
>> Konstantin did not like
>> from my ArgumentativePicoContainer
>> 2) has the start of the same type of conversion that
>> ConfigParam did
>> (without XStream)
>> 3) meets my latest requirements - see that test I
>> added and commented
>> out in the last email
>>
>
> My original thought was to reuse already existing
> converters ( in xsteam ) - originally it was placed
> into nanocontainer, so xstream dependency was already
> there.
>
> Somehow I do not like idea to proliferate different
> implementations of converter stuff again and again
>
> There are coverters in xwork , in xstream etc. -
> does the world around needs yet another converter
> library?
> Why not reuse something proven and acceptable?
> ( like ConvertUtils from jakarta commons? )
>
> regards,
>
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> JTec quality components: http://www.pribluda.de/projects/
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email