From 10b1b490a6e2a4a0c4e43b1b802e5e2e8ae2c1d3 Mon Sep 17 00:00:00 2001 From: Ivan Frade Date: Fri, 11 Oct 2019 16:23:23 -0700 Subject: CachedPackUriProvider: size should be a long (not an int) Change-Id: I5cd8b6376cdec59c5ead318edc5385da961511ec Signed-off-by: Ivan Frade --- .../org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java index b50f7392dc..9496d78c2f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java @@ -76,7 +76,7 @@ public interface CachedPackUriProvider { private final String hash; private final String uri; - private final int size; + private final long size; /** * Constructs an object containing information about a packfile. @@ -88,7 +88,7 @@ public interface CachedPackUriProvider { * @param size * the size of the packfile in bytes */ - public PackInfo(String hash, String uri, int size) { + public PackInfo(String hash, String uri, long size) { this.hash = hash; this.uri = uri; this.size = size; -- cgit v1.2.3