Github user chrismattmann commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/24#discussion_r30415367
  
    --- Diff: src/java/org/apache/nutch/fetcher/FetchNode.java ---
    @@ -0,0 +1,62 @@
    +package org.apache.nutch.fetcher;
    +
    +import org.apache.hadoop.io.Text;
    +import org.apache.nutch.parse.Outlink;
    +
    +public class FetchNode {
    +  private Text url = null;
    +  private Outlink[] outlinks;
    +  private int status = 0;
    +  private String title = null;
    +  private long fetchTime = 0;
    +  
    +  public Text getUrl() {
    +    return url;
    +  }
    +  public void setUrl(Text url) {
    +    System.out.println(this.hashCode() + " Setting url to : " + 
url.toString());
    +    this.url = url;
    +  }
    +  public Outlink[] getOutlinks() {
    +    return outlinks;
    +  }
    +  public void setOutlinks(Outlink[] links) {
    +    System.out.println(this.hashCode() + " Setting outlinks to : " + 
links.length);
    +    this.outlinks = links;
    +  }
    +  public int getStatus() {
    +    return status;
    +  }
    +  public void setStatus(int status) {
    +    System.out.println(this.hashCode() + " Setting status to : " + status);
    +    this.status = status;
    +  }
    +  public String getTitle() {
    +    return title;
    +  }
    +  public void setTitle(String title) {
    +    System.out.println(this.hashCode() + " Setting title to : " + title);
    +    this.title = title;
    +  }
    +  public long getFetchTime() {
    +    return fetchTime;
    +  }
    +  public void setFetchTime(long fetchTime) {
    +    System.out.println(this.hashCode() + " Setting fetchTime to : " + 
fetchTime);
    +    this.fetchTime = fetchTime;
    +  }
    +  
    +//  public String toString(){
    --- End diff --
    
    If it's commented out, don't include it please :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to