]> source.dussan.org Git - jgit.git/commitdiff
CachedPackUriProvider: size should be a long (not an int) 71/150971/1
authorIvan Frade <ifrade@google.com>
Fri, 11 Oct 2019 23:23:23 +0000 (16:23 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 11 Oct 2019 23:24:45 +0000 (16:24 -0700)
Change-Id: I5cd8b6376cdec59c5ead318edc5385da961511ec
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java

index b50f7392dcb2a1e9497148f1c23ef7633384fc09..9496d78c2f3ec718269fcc4ad7aec6961fe4433d 100644 (file)
@@ -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;