Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/plugins/KeyUtils/KeyExplorerUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;

import org.apache.tools.tar.TarEntry;
import org.apache.tools.tar.TarInputStream;
import org.apache.commons.compress.archivers.ArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;

import freenet.client.ClientMetadata;
import freenet.client.FetchContext;
Expand Down Expand Up @@ -376,8 +376,8 @@ public static Metadata tarManifestGet(PluginRespirator pr, FreenetURI uri, Strin
}

public static Metadata internalTarManifestGet(Bucket data, String metaName) throws IOException, MetadataParseException, FetchException {
TarInputStream zis = new TarInputStream(data.getInputStream());
TarEntry entry;
TarArchiveInputStream zis = new TarArchiveInputStream(data.getInputStream());
ArchiveEntry entry;
ByteArrayOutputStream bos;
while (true) {
entry = zis.getNextEntry();
Expand Down
Loading