commit | 55d1d426efd64d55e058f2b50a0c68821ad5c648 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Mon Sep 11 21:53:14 2023 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Sep 11 21:53:22 2023 +0100 |
tree | c447f68c49c04a93c03044d9383869fe18234eb0 | |
parent | 9d8b1f67e5dd1ddf5fe4af168f92f4420fb38ad3 [diff] | |
parent | a63edc5316a044604652fb1c5b338045deb3b6db [diff] |
Merge branch 'stable-3.5' * stable-3.5: Fetch change version from refdb on Git protocol v2 Do not cache negative results from open changes / timestamp lookups Fix 'illegal format conversion' compilation error follow-up to "Exclude repo from ChangeCacheKey..." Exclude repo from ChangeCacheKey equals/hash code calculation Change-Id: If2e339ebb82cfb850ce98431e4324449c706b185
diff --git a/src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangesTsCache.java b/src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangesTsCache.java index 248d347..722d40d 100644 --- a/src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangesTsCache.java +++ b/src/main/java/com/googlesource/gerrit/modules/gitrefsfilter/ChangesTsCache.java
@@ -49,7 +49,7 @@ .createChecked(key.repo(), key.project(), key.changeId(), key.changeRevision()) .getChange() .getLastUpdatedOn() - .getTime(); + .toEpochMilli(); } } }