Revert "Upgrade to Commons Compress 1.25.0"

This reverts commit 1c2a622f7f.

See gh-39148
This commit is contained in:
Andy Wilkinson
2024-01-31 17:21:32 +00:00
parent a620d348ad
commit dd082c6c21
14 changed files with 37 additions and 37 deletions

View File

@@ -195,7 +195,7 @@ class ApplicationPluginActionIntegrationTests {
List<String> entryNames = new ArrayList<>();
try (TarArchiveInputStream input = new TarArchiveInputStream(new FileInputStream(distribution))) {
TarArchiveEntry entry;
while ((entry = input.getNextEntry()) != null) {
while ((entry = input.getNextTarEntry()) != null) {
entryNames.add(entry.getName());
}
}
@@ -205,7 +205,7 @@ class ApplicationPluginActionIntegrationTests {
private void tarEntries(File distribution, Consumer<TarArchiveEntry> consumer) throws IOException {
try (TarArchiveInputStream input = new TarArchiveInputStream(new FileInputStream(distribution))) {
TarArchiveEntry entry;
while ((entry = input.getNextEntry()) != null) {
while ((entry = input.getNextTarEntry()) != null) {
consumer.accept(entry);
}
}