getLogger().debug("Failed to find a proper Converter for class [" + typeName + "]", e);
}
}
}
if (converter == null) {
<BUG>if (Enum.class.isAssignableFrom(targetType.getClass())) {
converter = this.enumConverter;</BUG>
} else {
getLogger().debug("Trying default Converter for target type [" + typeGenericName + "]");
converter = this.defaultConverter;

getLogger().debug("Failed to find a proper Converter for class [" + typeName + "]", e);
}
}
}
if (converter == null) {
if (targetType instanceof Class && Enum.class.isAssignableFrom((Class< ? >) targetType)) {
converter = this.enumConverter;
} else {
getLogger().debug("Trying default Converter for target type [" + typeGenericName + "]");
converter = this.defaultConverter;
