if (targetType.equals(String.class)) {
return (T) ((Class) targetType).cast(convertToString(sourceValue));
</BUG>
} else if (targetType.equals(sourceType)) {
<BUG>return (T) sourceValue;
</BUG>
} else {
<BUG>return convertToType(targetType, sourceValue);

}
}</BUG>
protected String convertToString(Object value)

if (targetType.equals(String.class)) {
result = (T) ((Class) targetType).cast(convertToString(sourceValue));
} else if (targetType.equals(sourceType)) {
result = (T) sourceValue;
} else {
result = (T) convertToType(targetType, sourceValue);
}
return result;
}
protected String convertToString(Object value)
