diff options
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); } |