diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-11-08 23:38:09 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-11-09 00:08:42 +0100 |
commit | 3652dd437fab47f0d754273f9d7ed60db7dfb7aa (patch) | |
tree | d40b2fd96f8c56cbe870c067a84be81b2b4b0947 /org.eclipse.jgit | |
parent | 3ca786d76756a61e655a1c00c67ebb3e01e50151 (diff) | |
download | jgit-3652dd437fab47f0d754273f9d7ed60db7dfb7aa.tar.gz jgit-3652dd437fab47f0d754273f9d7ed60db7dfb7aa.zip |
Fix boxing warnings
Change-Id: Ibb61f63f17e909ee0e6a781c9418f7c1ac2c7cd7
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexLoader.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexLoader.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexLoader.java index 805f24f5ec..dff9fa52c8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexLoader.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackObjectSizeIndexLoader.java @@ -35,14 +35,16 @@ public class PackObjectSizeIndexLoader { byte[] header = in.readNBytes(4); if (!Arrays.equals(header, PackObjectSizeIndexWriter.HEADER)) { throw new IOException(MessageFormat.format( - JGitText.get().unreadableObjectSizeIndex, header.length, + JGitText.get().unreadableObjectSizeIndex, + Integer.valueOf(header.length), Arrays.toString(header))); } int version = in.readNBytes(1)[0]; if (version != 1) { throw new IOException(MessageFormat.format( - JGitText.get().unsupportedObjectSizeIndexVersion, version)); + JGitText.get().unsupportedObjectSizeIndexVersion, + Integer.valueOf(version))); } return PackObjectSizeIndexV1.parse(in); } |