well yeah this is exactly the same except for locator.
code like this
public final <C> IConverter<C> getConverter(Class<C> clazz)
{
if (Date.class.isAssignableFrom(clazz))
{
return (IConverter<C>)converter;
}
else
{
return super.getConverter(clazz);
}
}
should always ring bells that something is wrong.
anyway I think that type checking should be done while registering the
converter and not while getting it.
pozdrawiam
Paweł Kamiński
[email protected]
[email protected]
______________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]