aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2019-10-11 16:23:23 -0700
committerIvan Frade <ifrade@google.com>2019-10-11 16:24:45 -0700
commit10b1b490a6e2a4a0c4e43b1b802e5e2e8ae2c1d3 (patch)
treef9e992a6a6b2da6ac94756f1b20a21c40c56007e
parent52408c6afbefbf2482b7be70ed2543ee74b041d3 (diff)
downloadjgit-10b1b490a6e2a4a0c4e43b1b802e5e2e8ae2c1d3.tar.gz
jgit-10b1b490a6e2a4a0c4e43b1b802e5e2e8ae2c1d3.zip
CachedPackUriProvider: size should be a long (not an int)
Change-Id: I5cd8b6376cdec59c5ead318edc5385da961511ec Signed-off-by: Ivan Frade <ifrade@google.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java4
1 files 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;