commons-compress.git
2 days agoFix broken XML. master
Gary Gregory [Mon, 4 Jul 2022 18:26:35 +0000 (14:26 -0400)] 
Fix broken XML.

Add missing namespace and XSD to SpotBugs filter file.

3 weeks agoBump org.apache.felix.framework from 7.0.3 to 7.0.5
dependabot[bot] [Fri, 10 Jun 2022 04:04:19 +0000 (04:04 +0000)] 
Bump org.apache.felix.framework from 7.0.3 to 7.0.5

Bumps org.apache.felix.framework from 7.0.3 to 7.0.5.

---
updated-dependencies:
- dependency-name: org.apache.felix:org.apache.felix.framework
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 weeks agoBump maven-pmd-plugin from 3.16.0 to 3.17.0
dependabot[bot] [Fri, 10 Jun 2022 04:04:32 +0000 (04:04 +0000)] 
Bump maven-pmd-plugin from 3.16.0 to 3.17.0

Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.16.0...maven-pmd-plugin-3.17.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 weeks agoAdd coverage.yml
Gary Gregory [Wed, 8 Jun 2022 16:49:34 +0000 (12:49 -0400)] 
Add coverage.yml

4 weeks agoBump actions/cache from 3.0.3 to 3.0.4
Gary Gregory [Tue, 7 Jun 2022 17:53:03 +0000 (13:53 -0400)] 
Bump actions/cache from 3.0.3 to 3.0.4

4 weeks agoFormat tweak
Gary Gregory [Mon, 6 Jun 2022 15:17:15 +0000 (11:17 -0400)] 
Format tweak

4 weeks agoFormat tweak
Gary Gregory [Mon, 6 Jun 2022 15:16:49 +0000 (11:16 -0400)] 
Format tweak

4 weeks agoDeprecate ServiceLoaderIterator since ServiceLoader is directly iterable
Gary Gregory [Mon, 6 Jun 2022 15:14:15 +0000 (11:14 -0400)] 
Deprecate ServiceLoaderIterator since ServiceLoader is directly iterable

4 weeks agoBump mockito.version from 4.5.1 to 4.6.1 #294
Gary Gregory [Fri, 3 Jun 2022 15:01:14 +0000 (11:01 -0400)] 
Bump mockito.version from 4.5.1 to 4.6.1 #294

4 weeks agoBump mockito.version from 4.5.1 to 4.6.1 (#294)
dependabot[bot] [Fri, 3 Jun 2022 15:00:14 +0000 (11:00 -0400)] 
Bump mockito.version from 4.5.1 to 4.6.1 (#294)

Bumps `mockito.version` from 4.5.1 to 4.6.1.

Updates `mockito-core` from 4.5.1 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.1)

Updates `mockito-junit-jupiter` from 4.5.1 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 weeks agoBump actions/cache from 3.0.2 to 3.0.3
Gary Gregory [Tue, 31 May 2022 20:30:13 +0000 (16:30 -0400)] 
Bump actions/cache from 3.0.2 to 3.0.3

6 weeks agoUse Objects#requireNonNull()
Gary Gregory [Tue, 24 May 2022 20:49:33 +0000 (16:49 -0400)] 
Use Objects#requireNonNull()

6 weeks agoBump zstd-jni from 1.5.2-2 to 1.5.2-3
dependabot[bot] [Fri, 20 May 2022 04:03:19 +0000 (04:03 +0000)] 
Bump zstd-jni from 1.5.2-2 to 1.5.2-3

Bumps [zstd-jni](https://github.com/luben/zstd-jni) from 1.5.2-2 to 1.5.2-3.
- [Release notes](https://github.com/luben/zstd-jni/releases)
- [Commits](https://github.com/luben/zstd-jni/compare/v1.5.2-2...v1.5.2-3)

---
updated-dependencies:
- dependency-name: com.github.luben:zstd-jni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agoBump maven-bundle-plugin from 5.1.5 to 5.1.6
dependabot[bot] [Fri, 20 May 2022 04:04:28 +0000 (04:04 +0000)] 
Bump maven-bundle-plugin from 5.1.5 to 5.1.6

Bumps maven-bundle-plugin from 5.1.5 to 5.1.6.

---
updated-dependencies:
- dependency-name: org.apache.felix:maven-bundle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months ago[COMPRESS-619][COMPRESS-514]
Gary Gregory [Fri, 6 May 2022 13:17:41 +0000 (09:17 -0400)] 
[COMPRESS-619][COMPRESS-514]
Implement streaming CRC-32 computation of NextHeader in
SevenZFile.initializeArchive(StartHeader, byte[], boolean)

TODO is to implement streaming for the rest of the method.

2 months agoBetter local variable name.
Gary Gregory [Fri, 6 May 2022 12:43:06 +0000 (08:43 -0400)] 
Better local variable name.

2 months agoComment out console output.
Gary Gregory [Fri, 6 May 2022 12:40:29 +0000 (08:40 -0400)] 
Comment out console output.

2 months agoComment out console output.
Gary Gregory [Fri, 6 May 2022 12:40:02 +0000 (08:40 -0400)] 
Comment out console output.

2 months agoUse Objects.requireNonNull()
Gary Gregory [Fri, 6 May 2022 12:09:03 +0000 (08:09 -0400)] 
Use Objects.requireNonNull()

2 months agoBump maven-bundle-plugin from 5.1.4 to 5.1.5 #290
Gary Gregory [Fri, 6 May 2022 11:35:57 +0000 (07:35 -0400)] 
Bump maven-bundle-plugin from 5.1.4 to 5.1.5 #290

2 months agoBump maven-bundle-plugin from 5.1.4 to 5.1.5 (#290)
dependabot[bot] [Fri, 6 May 2022 11:35:09 +0000 (07:35 -0400)] 
Bump maven-bundle-plugin from 5.1.4 to 5.1.5 (#290)

Bumps maven-bundle-plugin from 5.1.4 to 5.1.5.

---
updated-dependencies:
- dependency-name: org.apache.felix:maven-bundle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoUpdate changes.xml
Gary Gregory [Fri, 6 May 2022 11:14:29 +0000 (07:14 -0400)] 
Update changes.xml

2 months agofix TarFileTest.testDirectoryWithLongNameEndsWithSlash (#289)
Matt Juntunen [Fri, 6 May 2022 11:12:39 +0000 (07:12 -0400)] 
fix TarFileTest.testDirectoryWithLongNameEndsWithSlash (#289)

2 months agoFix weird test pattern.
Gary Gregory [Fri, 6 May 2022 00:36:29 +0000 (20:36 -0400)] 
Fix weird test pattern.

2 months agoRemove unused.
Gary Gregory [Thu, 5 May 2022 23:59:36 +0000 (19:59 -0400)] 
Remove unused.

2 months agoTest on Windows and macOS because for me 'mvn' passes on Windows but
Gary Gregory [Thu, 5 May 2022 20:27:05 +0000 (16:27 -0400)] 
Test on Windows and macOS because for me 'mvn' passes on Windows but
GitHub fails on Ubuntu.

2 months agoUse try-with-resources.
Gary Gregory [Thu, 5 May 2022 20:20:45 +0000 (16:20 -0400)] 
Use try-with-resources.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:15:19 +0000 (16:15 -0400)] 
No console output.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:14:27 +0000 (16:14 -0400)] 
No console output.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:13:59 +0000 (16:13 -0400)] 
No console output.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:13:28 +0000 (16:13 -0400)] 
No console output.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:10:28 +0000 (16:10 -0400)] 
No console output.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 20:08:10 +0000 (16:08 -0400)] 
Fix broken tests.

2 months agoNo console output.
Gary Gregory [Thu, 5 May 2022 20:06:07 +0000 (16:06 -0400)] 
No console output.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 20:01:13 +0000 (16:01 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:58:25 +0000 (15:58 -0400)] 
Fix broken tests.

2 months agoWhitespace.
Gary Gregory [Thu, 5 May 2022 19:57:21 +0000 (15:57 -0400)] 
Whitespace.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:57:12 +0000 (15:57 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:53:33 +0000 (15:53 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:50:31 +0000 (15:50 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:48:46 +0000 (15:48 -0400)] 
Fix broken tests.

2 months agoWhitespeace.
Gary Gregory [Thu, 5 May 2022 19:47:58 +0000 (15:47 -0400)] 
Whitespeace.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:47:17 +0000 (15:47 -0400)] 
Fix broken tests.

2 months agoWhitespeace.
Gary Gregory [Thu, 5 May 2022 19:46:05 +0000 (15:46 -0400)] 
Whitespeace.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:44:58 +0000 (15:44 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:41:59 +0000 (15:41 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:40:57 +0000 (15:40 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:39:40 +0000 (15:39 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:38:32 +0000 (15:38 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:37:23 +0000 (15:37 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:36:51 +0000 (15:36 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:35:21 +0000 (15:35 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:32:52 +0000 (15:32 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:28:13 +0000 (15:28 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:27:12 +0000 (15:27 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:25:12 +0000 (15:25 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:22:51 +0000 (15:22 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:17:03 +0000 (15:17 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:10:05 +0000 (15:10 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:05:46 +0000 (15:05 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:03:25 +0000 (15:03 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 19:01:13 +0000 (15:01 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:59:32 +0000 (14:59 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:55:36 +0000 (14:55 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:54:03 +0000 (14:54 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:51:38 +0000 (14:51 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:49:38 +0000 (14:49 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:45:27 +0000 (14:45 -0400)] 
Fix broken tests.

2 months agoFix some tests.
Gary Gregory [Thu, 5 May 2022 18:37:14 +0000 (14:37 -0400)] 
Fix some tests.

2 months agoFix some tests.
Gary Gregory [Thu, 5 May 2022 18:35:47 +0000 (14:35 -0400)] 
Fix some tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:30:46 +0000 (14:30 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:29:10 +0000 (14:29 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:16:38 +0000 (14:16 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:14:08 +0000 (14:14 -0400)] 
Fix broken tests.

2 months agoFormat.
Gary Gregory [Thu, 5 May 2022 18:13:05 +0000 (14:13 -0400)] 
Format.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:12:31 +0000 (14:12 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:10:51 +0000 (14:10 -0400)] 
Fix broken tests.

2 months agoSort members.
Gary Gregory [Thu, 5 May 2022 18:08:02 +0000 (14:08 -0400)] 
Sort members.

2 months agoFormat.
Gary Gregory [Thu, 5 May 2022 18:07:46 +0000 (14:07 -0400)] 
Format.

2 months agoSort members.
Gary Gregory [Thu, 5 May 2022 18:07:29 +0000 (14:07 -0400)] 
Sort members.

2 months agoFormat.
Gary Gregory [Thu, 5 May 2022 18:07:16 +0000 (14:07 -0400)] 
Format.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:07:07 +0000 (14:07 -0400)] 
Fix broken tests.

2 months agoFix broken tests.
Gary Gregory [Thu, 5 May 2022 18:02:56 +0000 (14:02 -0400)] 
Fix broken tests.

2 months agoSort members.
Gary Gregory [Thu, 5 May 2022 17:48:06 +0000 (13:48 -0400)] 
Sort members.

2 months agoFormat.
Gary Gregory [Thu, 5 May 2022 17:47:50 +0000 (13:47 -0400)] 
Format.

2 months agoFix broken tests in SevenZMethodConfigurationTest.
Gary Gregory [Thu, 5 May 2022 17:47:42 +0000 (13:47 -0400)] 
Fix broken tests in SevenZMethodConfigurationTest.

2 months agoFix broken tests in SevenZFileTest.
Gary Gregory [Thu, 5 May 2022 17:45:55 +0000 (13:45 -0400)] 
Fix broken tests in SevenZFileTest.

2 months agoAdd SevenZArchiveEntry.setContentMethods(SevenZMethodConfiguration...).
Gary Gregory [Thu, 5 May 2022 17:39:43 +0000 (13:39 -0400)] 
Add SevenZArchiveEntry.setContentMethods(SevenZMethodConfiguration...).

2 months agoSort members.
Gary Gregory [Thu, 5 May 2022 17:34:12 +0000 (13:34 -0400)] 
Sort members.

2 months agoFormat.
Gary Gregory [Thu, 5 May 2022 17:34:00 +0000 (13:34 -0400)] 
Format.

2 months agoFix SevenZArchiveEntryTest.
Gary Gregory [Thu, 5 May 2022 17:33:32 +0000 (13:33 -0400)] 
Fix SevenZArchiveEntryTest.

2 months agoMost tests are no longer run since
Gary Gregory [Thu, 5 May 2022 17:27:09 +0000 (13:27 -0400)] 
Most tests are no longer run since
82ac0e1f2811aa39ceec0367aac031897947f1ad as determined using git bisect.

These test are only picked up by Maven using commons.surefire.version
from to 3.0.0-M6.

82ac0e1f2811aa39ceec0367aac031897947f1ad is the first bad commit
commit 82ac0e1f2811aa39ceec0367aac031897947f1ad
Author: Gary Gregory <garydgregory@gmail.com>
Date:   Sun Dec 26 18:47:22 2021 -0500

    Continue porting from JUnit 4 to JUnit 5.

 pom.xml                                            |  23 +-
 .../apache/commons/compress/AbstractTestCase.java  |   8 +-
 .../apache/commons/compress/ArchiveReadTest.java   |  45 ++--
 .../apache/commons/compress/ArchiveUtilsTest.java  |   4 +-
 .../apache/commons/compress/ChainingTestCase.java  |   2 +-
 .../commons/compress/DetectArchiverTestCase.java   |   2 +-
 .../org/apache/commons/compress/IOMethodsTest.java |   2 +-
 .../org/apache/commons/compress/OsgiITest.java     |   7 +-
 .../commons/compress/archivers/ArTestCase.java     |   8 +-
 .../archivers/ArchiveOutputStreamTest.java         |   2 +-
 .../archivers/ArchiveServiceLoaderTest.java        |   6 +-
 .../archivers/ArchiveStreamFactoryTest.java        |   6 +-
 .../commons/compress/archivers/CpioTestCase.java   |   2 +-
 .../commons/compress/archivers/DumpTestCase.java   |   2 +-
 .../compress/archivers/ExceptionMessageTest.java   |   2 +-
 .../commons/compress/archivers/JarTestCase.java    |   2 +-
 .../commons/compress/archivers/LongPathTest.java   |  53 ++---
 .../compress/archivers/LongSymLinkTest.java        |  39 ++-
 .../commons/compress/archivers/SevenZTestCase.java |   6 +-
 .../commons/compress/archivers/TarTestCase.java    |   2 +-
 .../commons/compress/archivers/ZipTestCase.java    |   8 +-
 .../archivers/ar/ArArchiveInputStreamTest.java     |   6 +-
 .../archivers/ar/ArArchiveOutputStreamTest.java    |   2 +-
 .../archivers/arj/ArjArchiveInputStreamTest.java   |   2 +-
 .../compress/archivers/arj/CoverageTest.java       |   2 +-
 .../archivers/cpio/CpioArchiveInputStreamTest.java |   2 +-
 .../cpio/CpioArchiveOutputStreamTest.java          |   2 +-
 .../compress/archivers/cpio/CpioArchiveTest.java   |  35 ++-
 .../compress/archivers/cpio/CpioUtilTest.java      |   8 +-
 .../archivers/dump/DumpArchiveEntryTest.java       |   2 +-
 .../archivers/dump/DumpArchiveInputStreamTest.java |   2 +-
 .../archivers/dump/DumpArchiveUtilTest.java        |   2 +-
 .../compress/archivers/examples/ExpanderTest.java  |   6 +-
 .../examples/ParameterizedArchiverTest.java        |  67 +++---
 .../examples/ParameterizedExpanderTest.java        |  77 +++---
 .../archivers/examples/SevenZArchiverTest.java     |  10 +-
 .../archivers/jar/JarArchiveOutputStreamTest.java  |   2 +-
 .../compress/archivers/jar/JarMarkerTest.java      |   5 +-
 .../archivers/memory/MemoryArchiveTestCase.java    |   3 +-
 .../archivers/sevenz/AES256SHA256DecoderTest.java  |   2 +-
 .../compress/archivers/sevenz/CoverageTest.java    |  10 +-
 .../compress/archivers/sevenz/FolderTest.java      |   2 +-
 .../archivers/sevenz/SevenZArchiveEntryTest.java   |   8 +-
 .../compress/archivers/sevenz/SevenZFileTest.java  |   4 +-
 .../sevenz/SevenZMethodConfigurationTest.java      |   6 +-
 .../archivers/sevenz/SevenZNativeHeapTest.java     |   2 +-
 .../archivers/sevenz/SevenZOutputFileTest.java     |   2 +-
 .../commons/compress/archivers/tar/BigFilesIT.java |   2 +-
 .../compress/archivers/tar/SparseFilesTest.java    |   2 +-
 .../archivers/tar/TarArchiveEntryTest.java         |  51 ++--
 .../archivers/tar/TarArchiveInputStreamTest.java   |  18 +-
 .../archivers/tar/TarArchiveOutputStreamTest.java  |   6 +-
 .../compress/archivers/tar/TarFileTest.java        |  18 +-
 .../archivers/tar/TarMemoryFileSystemTest.java     |   2 +-
 .../compress/archivers/tar/TarUtilsTest.java       |   2 +-
 .../compress/archivers/zip/AsiExtraFieldTest.java  |   2 +-
 .../compress/archivers/zip/BinaryTreeTest.java     |   4 +-
 .../compress/archivers/zip/BitStreamTest.java      |   2 +-
 .../compress/archivers/zip/CircularBufferTest.java |   2 +-
 .../compress/archivers/zip/DataDescriptorTest.java |  10 +-
 .../archivers/zip/EncryptedArchiveTest.java        |   4 +-
 .../compress/archivers/zip/ExplodeSupportTest.java |   2 +-
 .../archivers/zip/ExtraFieldUtilsTest.java         |   6 +-
 .../archivers/zip/GeneralPurposeBitTest.java       |   2 +-
 .../archivers/zip/Maven221MultiVolumeTest.java     |   4 +-
 .../compress/archivers/zip/NioZipEncodingTest.java |   2 +-
 .../zip/ParallelScatterZipCreatorTest.java         |  10 +-
 .../archivers/zip/PkWareExtraHeaderTest.java       |   2 +-
 .../compress/archivers/zip/ScatterSampleTest.java  |   2 +-
 .../archivers/zip/ScatterZipOutputStreamTest.java  |   6 +-
 .../archivers/zip/StreamCompressorTest.java        |   2 +-
 .../compress/archivers/zip/UTF8ZipFilesTest.java   |   2 +-
 .../compress/archivers/zip/X000A_NTFSTest.java     |   2 +-
 .../archivers/zip/X5455_ExtendedTimestampTest.java |  10 +-
 .../compress/archivers/zip/X7875_NewUnixTest.java  |   6 +-
 .../Zip64ExtendedInformationExtraFieldTest.java    |   2 +-
 .../compress/archivers/zip/Zip64SupportIT.java     |   2 +-
 .../archivers/zip/ZipArchiveEntryTest.java         |   2 +-
 .../archivers/zip/ZipArchiveInputStreamTest.java   |   4 +-
 .../archivers/zip/ZipClassCoverageTest.java        |   2 +-
 .../archivers/zip/ZipEightByteIntegerTest.java     |   2 +-
 .../compress/archivers/zip/ZipEncodingTest.java    |   2 +-
 .../zip/ZipFileIgnoringLocalFileHeaderTest.java    |  10 +-
 .../compress/archivers/zip/ZipFileTest.java        |  16 +-
 .../compress/archivers/zip/ZipLongTest.java        |   2 +-
 .../archivers/zip/ZipMemoryFileSystemTest.java     |  10 +-
 .../compress/archivers/zip/ZipShortTest.java       |   4 +-
 .../archivers/zip/ZipSplitOutputStreamTest.java    |   2 +-
 .../compress/archivers/zip/ZipUtilTest.java        |  10 +-
 .../compress/changes/ChangeSetTestCase.java        |   2 +-
 .../commons/compress/changes/ChangeTest.java       |   8 +-
 .../compress/compressors/BZip2TestCase.java        |   2 +-
 .../compress/compressors/BZip2UtilsTestCase.java   |   2 +-
 .../compressors/CompressorServiceLoaderTest.java   |   6 +-
 .../CompressorStreamFactoryRoundtripTest.java      |  44 ++--
 .../compress/compressors/DeflateTestCase.java      |   2 +-
 .../compressors/DetectCompressorTestCase.java      |  10 +-
 .../compress/compressors/FramedSnappyTestCase.java |   2 +-
 .../commons/compress/compressors/GZipTestCase.java |   2 +-
 .../compress/compressors/GzipUtilsTestCase.java    |   2 +-
 .../commons/compress/compressors/LZMATestCase.java |   2 +-
 .../compress/compressors/Pack200TestCase.java      |   2 +-
 .../commons/compress/compressors/XZTestCase.java   |   3 +-
 .../commons/compress/compressors/ZTestCase.java    |   2 +-
 .../brotli/BrotliCompressorInputStreamTest.java    |   2 +-
 .../bzip2/BZip2CompressorInputStreamTest.java      |   8 +-
 .../bzip2/BZip2NSelectorsOverflowTest.java         |   2 +-
 .../compress/compressors/bzip2/BlockSortTest.java  |   2 +-
 .../bzip2/PythonTruncatedBzip2Test.java            |  16 +-
 .../deflate/DeflateCompressorInputStreamTest.java  |   2 +-
 .../deflate/DeflateCompressorOutputStreamTest.java |   2 +-
 .../compressors/deflate/DeflateParametersTest.java |   6 +-
 .../compressors/deflate64/Deflate64BugsTest.java   |   2 +-
 .../Deflate64CompressorInputStreamTest.java        | 263
+++++++++++----------
 .../compressors/deflate64/HuffmanDecoderTest.java  |   2 +-
 .../lz4/BlockLZ4CompressorInputStreamTest.java     |   2 +-
 .../lz4/BlockLZ4CompressorOutputStreamTest.java    |   8 +-
 .../lz4/BlockLZ4CompressorRoundtripTest.java       |  54 ++---
 .../compress/compressors/lz4/FactoryTest.java      |   2 +-
 .../lz4/FramedLZ4CompressorInputStreamTest.java    |   4 +-
 .../lz4/FramedLZ4CompressorRoundtripTest.java      |  69 +++---
 .../compress/compressors/lz4/XXHash32Test.java     |  39 ++-
 .../AbstractLZ77CompressorInputStreamTest.java     |   4 +-
 .../lz77support/LZ77CompressorTest.java            |   6 +-
 .../compressors/lz77support/ParametersTest.java    |   6 +-
 .../compressors/lzma/LZMAUtilsTestCase.java        |   2 +-
 .../compressors/pack200/Pack200UtilsTest.java      |   2 +-
 .../FramedSnappyCompressorInputStreamTest.java     |   2 +-
 .../compressors/snappy/SnappyRoundtripTest.java    |   2 +-
 .../xz/XZCompressorInputStreamTest.java            |   2 +-
 .../xz/XZCompressorOutputStreamTest.java           |   2 +-
 .../compress/compressors/xz/XZUtilsTestCase.java   |   2 +-
 .../compressors/z/ZCompressorInputStreamTest.java  |   4 +-
 .../zstandard/ZstdCompressorInputStreamTest.java   |   2 +-
 .../compressors/zstandard/ZstdRoundtripTest.java   |   2 +-
 .../compressors/zstandard/ZstdUtilsTest.java       |   2 +-
 .../Codec_decodeInts_OutOfMemoryErrorTest.java     |   6 +-
 .../commons/compress/utils/BitInputStreamTest.java |   6 +-
 .../BoundedSeekableByteChannelInputStreamTest.java |   2 +-
 .../commons/compress/utils/ByteUtilsTest.java      |  18 +-
 .../commons/compress/utils/CharsetsTest.java       |   3 +-
 .../utils/ChecksumCalculatingInputStreamTest.java  |   8 +-
 .../utils/ChecksumVerifyingInputStreamTest.java    |   6 +-
 .../commons/compress/utils/CountingStreamTest.java |   4 +-
 .../commons/compress/utils/FileNameUtilsTest.java  |   2 +-
 .../utils/FixedLengthBlockOutputStreamTest.java    |   2 +-
 .../apache/commons/compress/utils/IOUtilsTest.java |  10 +-
 .../MultiReadOnlySeekableByteChannelTest.java      |   6 +-
 .../commons/compress/utils/OsgiUtilsTest.java      |   2 +-
 .../utils/SeekableInMemoryByteChannelTest.java     |  30 +--
 .../compress/utils/ServiceLoaderIteratorTest.java  |   6 +-
 .../utils/SkipShieldingInputStreamTest.java        |   2 +-
 .../ZipSplitReadOnlySeekableByteChannelTest.java   |   6 +-
 153 files changed, 731 insertions(+), 759 deletions(-)

2 months agoBump commons.jacoco.version from 0.8.7 to 0.8.8
Gary Gregory [Thu, 5 May 2022 13:34:46 +0000 (09:34 -0400)] 
Bump commons.jacoco.version from 0.8.7 to 0.8.8

2 months agoRefactor commons code.
Gary Gregory [Thu, 5 May 2022 13:29:36 +0000 (09:29 -0400)] 
Refactor commons code.

2 months agoSort members.
Gary Gregory [Thu, 5 May 2022 13:26:17 +0000 (09:26 -0400)] 
Sort members.

2 months agoChecksumVerifyingInputStream.read() does not always validate checksum at
Gary Gregory [Thu, 5 May 2022 13:26:04 +0000 (09:26 -0400)] 
ChecksumVerifyingInputStream.read() does not always validate checksum at
end-of-stream.

2 months agoJavadoc & use a ternary expression.
Gary Gregory [Thu, 5 May 2022 13:23:46 +0000 (09:23 -0400)] 
Javadoc & use a ternary expression.

2 months agoRemove unused exception from private method signature.
Gary Gregory [Thu, 5 May 2022 13:14:59 +0000 (09:14 -0400)] 
Remove unused exception from private method signature.

2 months agoBump maven-javadoc-plugin from 3.3.2 to 3.4.0
dependabot[bot] [Fri, 29 Apr 2022 05:04:59 +0000 (05:04 +0000)] 
Bump maven-javadoc-plugin from 3.3.2 to 3.4.0

Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.3.2...maven-javadoc-plugin-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agoBump github/codeql-action from 1 to 2
dependabot[bot] [Fri, 29 Apr 2022 04:28:46 +0000 (04:28 +0000)] 
Bump github/codeql-action from 1 to 2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>