mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-12-01 15:37:14 +00:00
Remove unnecessary boxing and unboxing
This commit is contained in:
3 files changed
+6
-13
No files matched your search
@@ -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