private Converter defaultConverter;
public <T> T convert(Type targetType, Object value)
{
Converter converter = lookupConverter(targetType);
if (converter != null) {
<BUG>return converter.convert(targetType, value);
</BUG>
} else {
throw new ConversionException("Can't find converter to convert value [" + value + "] to type ["
+ targetType + "] ");

private Converter defaultConverter;
public <T> T convert(Type targetType, Object value)
{
Converter converter = lookupConverter(targetType);
if (converter != null) {
return (T) converter.convert(targetType, value);
} else {
throw new ConversionException("Can't find converter to convert value [" + value + "] to type ["
+ targetType + "] ");
