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