HHH-15825 Avoid pointless autoboxing of timestamp.
This commit is contained in:
parent
52b143c613
commit
60468dadf0
|
@ -155,11 +155,11 @@ public class QueryResultsCacheImpl implements QueryResultsCache {
|
|||
}
|
||||
|
||||
public static class CacheItem implements Serializable {
|
||||
private final long timestamp;
|
||||
private final Long timestamp;
|
||||
private final List<?> results;
|
||||
|
||||
CacheItem(long timestamp, List<?> results) {
|
||||
this.timestamp = timestamp;
|
||||
this.timestamp = Long.valueOf( timestamp );
|
||||
this.results = results;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue