Use final parameter
Use simpler array declaration
Remove trailing whitespace
@@ -876,7 +876,7 @@ private void readFully(final byte[] b, final int off) throws IOException {
}
}
- private byte[] readRange(int len) throws IOException {
+ private byte[] readRange(final int len) throws IOException {
final byte[] ret = IOUtils.readRange(inputStream, len);
count(ret.length);
if (ret.length < len) {
@@ -1216,7 +1216,7 @@ private boolean isFirstByteOfEocdSig(final int b) {
return b == ZipArchiveOutputStream.EOCD_SIG[0];
}
- private static final byte[] APK_SIGNING_BLOCK_MAGIC = new byte[] {
+ private static final byte[] APK_SIGNING_BLOCK_MAGIC = {
'A', 'P', 'K', ' ', 'S', 'i', 'g', ' ', 'B', 'l', 'o', 'c', 'k', ' ', '4', '2',
};
private static final BigInteger LONG_MAX = BigInteger.valueOf(Long.MAX_VALUE);
