HHH-15825 Avoid pointless autoboxing of timestamp.

This commit is contained in:
Jeremy Whiting 2022-12-06 12:09:45 +00:00 committed by Sanne Grinovero
parent 52b143c613
commit 60468dadf0
1 changed files with 2 additions and 2 deletions

View File

@ -155,11 +155,11 @@ public class QueryResultsCacheImpl implements QueryResultsCache {
} }
public static class CacheItem implements Serializable { public static class CacheItem implements Serializable {
private final long timestamp; private final Long timestamp;
private final List<?> results; private final List<?> results;
CacheItem(long timestamp, List<?> results) { CacheItem(long timestamp, List<?> results) {
this.timestamp = timestamp; this.timestamp = Long.valueOf( timestamp );
this.results = results; this.results = results;
} }
} }