Remove unnecessary boxing and unboxing

This commit is contained in:
Thibault Meyer
2016-11-06 10:29:42 +01:00
parent 2a6d38eef2
commit b94f852b67
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) {