Upgrade to Commons Compress 1.25.0

Closes gh-39148
This commit is contained in:
Andy Wilkinson
2024-01-30 11:56:26 +00:00
parent 9f1dda22ab
commit 1c2a622f7f
15 changed files with 48 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -195,7 +195,7 @@ class ApplicationPluginActionIntegrationTests {
List<String> entryNames = new ArrayList<>();
try (TarArchiveInputStream input = new TarArchiveInputStream(new FileInputStream(distribution))) {
TarArchiveEntry entry;
while ((entry = input.getNextTarEntry()) != null) {
while ((entry = input.getNextEntry()) != 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.getNextTarEntry()) != null) {
while ((entry = input.getNextEntry()) != null) {
consumer.accept(entry);
}
}