You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by le...@apache.org on 2017/12/17 17:13:48 UTC
[nutch] branch 2.x updated: NUTCH-2358 HostInjectorJob doesn't work
This is an automated email from the ASF dual-hosted git repository.
lewismc pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/2.x by this push:
new 103f5c5 NUTCH-2358 HostInjectorJob doesn't work
103f5c5 is described below
commit 103f5c50faaa0c0cfbc05f6b75235f632bdc2ea6
Author: Lewis John McGibbney <le...@gmail.com>
AuthorDate: Sun Dec 17 09:14:23 2017 -0800
NUTCH-2358 HostInjectorJob doesn't work
---
src/java/org/apache/nutch/host/HostInjectorJob.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/java/org/apache/nutch/host/HostInjectorJob.java b/src/java/org/apache/nutch/host/HostInjectorJob.java
index 59a2e64..d0c2b19 100644
--- a/src/java/org/apache/nutch/host/HostInjectorJob.java
+++ b/src/java/org/apache/nutch/host/HostInjectorJob.java
@@ -119,7 +119,7 @@ public class HostInjectorJob implements Tool {
}
// now add the metadata
- Host host = new Host();
+ Host host = Host.newBuilder().build();
Iterator<String> keysIter = metadata.keySet().iterator();
while (keysIter.hasNext()) {
--
To stop receiving notification emails like this one, please contact
['"commits@nutch.apache.org" <co...@nutch.apache.org>'].