diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-28 16:13:42 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-28 21:46:37 +0200 |
commit | 07f5e817982cdfcb38db7c10f37c6e4964a0a666 (patch) | |
tree | 8093d1ee42720334b1a427f38b224e5c22e130fc /org.eclipse.jgit/src | |
parent | 60f40a8e66c2f53d50426749bbb31d84d074baac (diff) | |
download | jgit-07f5e817982cdfcb38db7c10f37c6e4964a0a666.tar.gz jgit-07f5e817982cdfcb38db7c10f37c6e4964a0a666.zip |
PackObjectSizeIndexV1: fix boxing warnings
Change-Id: I25e6194fb8bf09dcac1613cec8349c3893a4f81a
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexV1.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexV1.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexV1.java index e172f141f5..9957f54fbf 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexV1.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexV1.java @@ -149,7 +149,8 @@ class PackObjectSizeIndexV1 implements PackObjectSizeIndex { byte[] data = in.readNBytes(expectedBytes); if (data.length < expectedBytes) { throw new IOException(MessageFormat - .format(JGitText.get().unableToReadFullArray, ints)); + .format(JGitText.get().unableToReadFullArray, + Integer.valueOf(ints))); } return new IntArray(data); } @@ -217,7 +218,8 @@ class PackObjectSizeIndexV1 implements PackObjectSizeIndex { byte[] data = in.readNBytes(longs * LONG_SIZE); if (data.length < longs * LONG_SIZE) { throw new IOException(MessageFormat - .format(JGitText.get().unableToReadFullArray, longs)); + .format(JGitText.get().unableToReadFullArray, + Integer.valueOf(longs))); } return new LongArray(data); } |