Browse Source

CachedPackUriProvider: size should be a long (not an int)

Change-Id: I5cd8b6376cdec59c5ead318edc5385da961511ec
Signed-off-by: Ivan Frade <ifrade@google.com>
next
Ivan Frade 5 years ago
parent
commit
10b1b490a6
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/CachedPackUriProvider.java

4
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 hash;
private final String uri; private final String uri;
private final int size; private final long size;
/** /**
* Constructs an object containing information about a packfile. * Constructs an object containing information about a packfile.
@ -88,7 +88,7 @@ public interface CachedPackUriProvider {
* @param size * @param size
* the size of the packfile in bytes * 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.hash = hash;
this.uri = uri; this.uri = uri;
this.size = size; this.size = size;

Loading…
Cancel
Save