Merge branch '3.1.x' into 3.2.x
See gh-39340
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user