remove pattern where we first allocate an array and then try to fill it
authorStefan Bodewig <bodewig@apache.org>
Fri, 2 Jul 2021 18:00:47 +0000 (20:00 +0200)
committerStefan Bodewig <bodewig@apache.org>
Fri, 2 Jul 2021 18:00:47 +0000 (20:00 +0200)
commit80124dd9fe4b0a0b2e203ca19aacac8cd0afc96f
tree62d7a6d47151db721a3f26c91c7a730b65d102a8
parentd80d76f81b45655b0b1d234d25ee26f817f7b770
remove pattern where we first allocate an array and then try to fill it
14 files changed:
src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
src/main/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStream.java
src/main/java/org/apache/commons/compress/archivers/cpio/CpioArchiveInputStream.java
src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
src/main/java/org/apache/commons/compress/archivers/examples/Expander.java
src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
src/main/java/org/apache/commons/compress/archivers/zip/BinaryTree.java
src/main/java/org/apache/commons/compress/archivers/zip/X0017_StrongEncryptionHeader.java
src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
src/main/java/org/apache/commons/compress/archivers/zip/ZipFile.java
src/main/java/org/apache/commons/compress/utils/IOUtils.java
src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java