spring-projects/spring-data-commons — pull request #101 by thomasdarimont (2014-10-28 22:34:53+00:00)
Title: DATACMNS-583 - DomainClassConverter returns input if given types are the same.

DomainClassConverter now returns input when sourceType equals targetType.
Previously we erroneously tried to convert the sourceType to the idType of the targetType's backing Repository. As a side effect we also avoid performing some unnecessary converter hops.