Skip to content

Commit 7847f4c

Browse files
committed
Fix return type
1 parent 87ec9e7 commit 7847f4c

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import okio.BufferedSink;
44
import okio.Okio;
55
import okio.Sink;
6-
import org.apache.commons.compress.archivers.ArchiveEntry;
76
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
87
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
98
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;
@@ -55,7 +54,7 @@ public InputStream tar(File file) throws IOException {
5554
tmpFile.deleteOnExit();
5655

5756
TarArchiveOutputStream tos = new TarArchiveOutputStream(Files.newOutputStream(tmpFile.toPath()));
58-
ArchiveEntry archiveEntry = tos.createArchiveEntry(file, file.getName());
57+
TarArchiveEntry archiveEntry = tos.createArchiveEntry(file, file.getName());
5958
tos.putArchiveEntry(archiveEntry);
6059
Sink sink = Okio.sink(tos);
6160
Okio.buffer(Okio.source(file)).readAll(sink);

0 commit comments

Comments
 (0)