You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2021/03/18 19:26:12 UTC

[tika] branch branch_1x updated: remove ProgressMonitorInputStream because it conceals the underlying TikaInputStream and wreaks havoc with reset and using underlying files, etc...

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/branch_1x by this push:
     new 7041f96  remove ProgressMonitorInputStream because it conceals the underlying TikaInputStream and wreaks havoc with reset and using underlying files, etc...
7041f96 is described below

commit 7041f9685524692dae285ab7193da8aace286222
Author: tallison <ta...@apache.org>
AuthorDate: Thu Mar 18 15:25:51 2021 -0400

    remove ProgressMonitorInputStream because it conceals the underlying TikaInputStream and wreaks havoc with reset and using underlying files, etc...
---
 tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
index 257a624..ecd33f8 100644
--- a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
+++ b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
@@ -340,9 +340,6 @@ public class TikaGUI extends JFrame
 
         context.set(DocumentSelector.class, new ImageDocumentSelector());
 
-        input = TikaInputStream.get(new ProgressMonitorInputStream(
-                this, "Parsing stream", input));
-
         if (input.markSupported()) {
             int mark = -1;
             if (input instanceof TikaInputStream) {