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/02/24 17:57:45 UTC
[tika] branch main updated: Correct debugging output (#405)
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 5fd3e67 Correct debugging output (#405)
5fd3e67 is described below
commit 5fd3e67d057e030fc1ecfedcbaee15b5a458431b
Author: Peter Kronenberg <pa...@gmail.com>
AuthorDate: Wed Feb 24 12:56:18 2021 -0500
Correct debugging output (#405)
Co-authored-by: Peter Kronenberg <pe...@torch.ai>
---
.../src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java b/tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java
index 3705f99..b9eb804 100644
--- a/tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java
+++ b/tika-parsers/tika-parsers-classic/tika-parsers-classic-modules/tika-parser-ocr-module/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java
@@ -170,7 +170,7 @@ public class TesseractOCRParser extends AbstractParser implements Initializable
// Try running Tesseract from there, and see if it exists + works
String[] checkCmd = {tesseract};
boolean hasTesseract = ExternalParser.check(checkCmd);
- LOG.debug("hasTesseract (path: " + checkCmd + "): " + hasTesseract);
+ LOG.debug("hasTesseract (path: " + Arrays.toString(checkCmd) + "): " + hasTesseract);
return hasTesseract;
}