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 2020/09/09 13:16:51 UTC
[tika] branch main updated: Fix key typo in BatchProcessBuilder
(#347)
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 3bc0835 Fix key typo in BatchProcessBuilder (#347)
3bc0835 is described below
commit 3bc0835d640c4dc51619b60821f546d3365ecc23
Author: Lee <55...@users.noreply.github.com>
AuthorDate: Wed Sep 9 21:16:42 2020 +0800
Fix key typo in BatchProcessBuilder (#347)
---
.../main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-batch/src/main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java b/tika-batch/src/main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java
index ce8c481..ec9a742 100644
--- a/tika-batch/src/main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java
+++ b/tika-batch/src/main/java/org/apache/tika/batch/builders/BatchProcessBuilder.java
@@ -131,7 +131,7 @@ public class BatchProcessBuilder {
//build crawler
crawler = buildCrawler(queue, keyNodes.get("crawler"), runtimeAttributes);
- if (keyNodes.containsKey(reporter)) {
+ if (keyNodes.containsKey("reporter")) {
reporter = buildReporter(crawler, consumersManager, keyNodes.get("reporter"), runtimeAttributes);
}