Merge pull request #857 from 0xbaadf00d/feature/boxing-unboxing

Remove unnecessary boxing and unboxing
This commit is contained in:
Rob Bygrave
2016-11-06 22:43:33 +13:00
committed by GitHub
3 changed files with 6 additions and 13 deletions
@@ -12,7 +12,7 @@ public class LongToTimestampConverter implements ScalarTypeConverter<Long, Times
public Timestamp unwrapValue(Long beanType) {
return new Timestamp(beanType.longValue());
return new Timestamp(beanType);
}
public Long wrapValue(Timestamp scalarType) {