atos1990 / orika

Automatically exported from code.google.com/p/orika
0 stars 0 forks source link

Orika fails to map short to int, long to int, short to long, etc. #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When mapping between two fields which are both primitive numeric types, Orika 
will ignore mappings where the primitives are not of the same type.

Instead, it should map them by default, and throw an ArithmeticException if an 
overflow would occur.

Original issue reported on code.google.com by matt.deb...@gmail.com on 5 Oct 2012 at 2:40

GoogleCodeExporter commented 9 years ago
Fix applied in current trunk 1.3.1-SNAPSHOT

Original comment by matt.deb...@gmail.com on 5 Oct 2012 at 6:43