Skip to content

Commit

Permalink
'#2084: removes unused class attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lfcnassif committed Feb 15, 2024
1 parent 0131006 commit f3932c3
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
else
itemsToExtract.add(i);
}
MyExtractCallback extractCallback = new MyExtractCallback(simpleInArchive, context, xhtml, extractor, tmp);
MyExtractCallback extractCallback = new MyExtractCallback(simpleInArchive, xhtml, extractor, tmp);
// Processa as pastas na ordem (em profundidade)
int[] folders = ArrayUtils.toPrimitive(folderList.toArray(new Integer[0]));
inArchive.extract(folders, false, extractCallback);
Expand Down Expand Up @@ -194,7 +194,6 @@ private Folder(File file, ISimpleInArchiveItem item) {
private static class MyExtractCallback implements IArchiveExtractCallback {

ISimpleInArchive simpleInArchive;
ParseContext context;
ContentHandler handler;
EmbeddedDocumentExtractor extractor;
TemporaryResources tmp;
Expand All @@ -207,10 +206,9 @@ private static class MyExtractCallback implements IArchiveExtractCallback {
int bufPos = 0;
File tmpFile;

public MyExtractCallback(ISimpleInArchive simpleInArchive, ParseContext context, ContentHandler handler,
public MyExtractCallback(ISimpleInArchive simpleInArchive, ContentHandler handler,
EmbeddedDocumentExtractor extractor, TemporaryResources tmp) {
this.simpleInArchive = simpleInArchive;
this.context = context;
this.handler = handler;
this.extractor = extractor;
this.tmp = tmp;
Expand Down

0 comments on commit f3932c3

Please sign in to comment.