Skip to content

Commit 8d6c1e3

Browse files
committed
Use non-deprecated method
1 parent 7847f4c commit 8d6c1e3

File tree

1 file changed

+1
-1
lines changed
  • api-client/src/test/java/de/gesellix/docker/remote/api/testutil

1 file changed

+1
-1
lines changed

api-client/src/test/java/de/gesellix/docker/remote/api/testutil/TarUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public File unTar(InputStream tar) throws IOException {
2525

2626
TarArchiveInputStream tis = new TarArchiveInputStream(tar);
2727
TarArchiveEntry tarEntry;
28-
while ((tarEntry = tis.getNextTarEntry()) != null) {
28+
while ((tarEntry = tis.getNextEntry()) != null) {
2929
File outputFile = new File(destDir, tarEntry.getName());
3030
if (tarEntry.isDirectory()) {
3131
if (!outputFile.exists()) {

0 commit comments

Comments
 (0)