Browse Source

FsckPackParser: Fix warning about int being boxed to Integer

Change-Id: I525164090e3990ce353bbb1627aaafaad2c903b6
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-4.9
David Pursehouse 7 years ago
parent
commit
53deba1b4f
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java

3
org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java

@ -284,7 +284,8 @@ public class FsckPackParser extends PackParser {
if (offs == -1) {
throw new CorruptPackIndexException(
MessageFormat.format(JGitText.get().missingObject,
entry.getType(), entry.getName()),
Integer.valueOf(entry.getType()),
entry.getName()),
ErrorType.MISSING_OBJ);
} else if (offs != entry.getOffset()) {
throw new CorruptPackIndexException(MessageFormat

Loading…
Cancel
Save