Skip to content

Commit 6d5b727

Browse files
committed
Polishing.
Remove redundant code. See #1750
1 parent a3f9f6b commit 6d5b727

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/MappingRelationalConverter.java

-8
Original file line numberDiff line numberDiff line change
@@ -624,14 +624,6 @@ public Object readValue(@Nullable Object value, TypeInformation<?> type) {
624624
return null;
625625
}
626626

627-
if (getConversions().hasCustomReadTarget(value.getClass(), type.getType())) {
628-
629-
TypeDescriptor sourceDescriptor = TypeDescriptor.valueOf(value.getClass());
630-
TypeDescriptor targetDescriptor = createTypeDescriptor(type);
631-
632-
return getConversionService().convert(value, sourceDescriptor, targetDescriptor);
633-
}
634-
635627
return getPotentiallyConvertedSimpleRead(value, type);
636628
}
637629

0 commit comments

Comments
 (0)