From e6b016c0c3ddbb9dbad3094af9b5e9880a048018 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Mon, 16 Sep 2024 00:09:42 +0200 Subject: [PATCH] Remove deprecated usage --- .../test/java/de/gesellix/docker/client/testutil/TarUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-test/src/test/java/de/gesellix/docker/client/testutil/TarUtil.java b/integration-test/src/test/java/de/gesellix/docker/client/testutil/TarUtil.java index 25f68784..4f5e75c0 100644 --- a/integration-test/src/test/java/de/gesellix/docker/client/testutil/TarUtil.java +++ b/integration-test/src/test/java/de/gesellix/docker/client/testutil/TarUtil.java @@ -19,7 +19,7 @@ public File unTar(InputStream tarFile) throws IOException { TarArchiveInputStream tis = new TarArchiveInputStream(tarFile); TarArchiveEntry tarEntry; - while ((tarEntry = tis.getNextTarEntry()) != null) { + while ((tarEntry = tis.getNextEntry()) != null) { File outputFile = new File(destDir, tarEntry.getName()); if (tarEntry.isDirectory()) { if (!outputFile.exists()) {