orika-mapper/orika — pull request #9 by papegaaij (2013-06-03 13:00:42+00:00)
Title: Cleanup typeCache in MappingContext

The typeCache in MappingContext was never cleaned. This results in old objects being reused in later mappings. Also, the uniqueIndex in Type is not so unique, because it's always 0. nextUniqueIndex should have been static.