File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
api-client/src/test/java/de/gesellix/docker/remote/api/testutil Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 33import okio .BufferedSink ;
44import okio .Okio ;
55import okio .Sink ;
6- import org .apache .commons .compress .archivers .ArchiveEntry ;
76import org .apache .commons .compress .archivers .tar .TarArchiveEntry ;
87import org .apache .commons .compress .archivers .tar .TarArchiveInputStream ;
98import 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 );
You can’t perform that action at this time.
0 commit comments