mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Remove unnecessary boxing and unboxing
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user