You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by ma...@apache.org on 2017/11/10 09:58:22 UTC
[nutch] branch master updated: NUTCH-2458
This is an automated email from the ASF dual-hosted git repository.
markus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new c345618 NUTCH-2458
new 705686e Merge branch 'master' of https://gitbox.apache.org/repos/asf/nutch
c345618 is described below
commit c345618ec425f0e907a6e54565f2d0577139b45f
Author: Markus Jelsma <ma...@apache.org>
AuthorDate: Fri Nov 10 10:56:56 2017 +0100
NUTCH-2458
---
.../parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
index 49dc378..73cd083 100644
--- a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
+++ b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
@@ -239,7 +239,7 @@ public class TikaParser implements org.apache.nutch.parse.Parser {
// see if a Tika config file can be found in the job file
URL customTikaConfig = conf.getResource(customConfFile);
if (customTikaConfig != null)
- tikaConfig = new TikaConfig(customTikaConfig);
+ tikaConfig = new TikaConfig(customTikaConfig, this.getClass().getClassLoader());
} catch (Exception e1) {
String message = "Problem loading custom Tika configuration from "
+ customConfFile;
--
To stop receiving notification emails like this one, please contact
['"commits@nutch.apache.org" <co...@nutch.apache.org>'].