[
https://issues.apache.org/jira/browse/NUTCH-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885403#comment-13885403
]
Walter Tietze commented on NUTCH-1720:
--------------------------------------
I corrected this redundancy and removed the first probably copied line, because
according to my crawl there is no evidence that an http status '410' is
happening much more often than any of the other states.
In the obviously original line I added the logging of the http code to keep log
messages the way the are.
[~lewismc] 1) I can hardly test the correction. Will this slight change be
automatically tested in the test environment??
2) I can't check into the svn repository with my login for the
web frontend. I think this is by intention, therefore I attach the modified
file.
I attach the modified file for insertion into the trunk!
> Duplicate lines in HttpBase.java
> --------------------------------
>
> Key: NUTCH-1720
> URL: https://issues.apache.org/jira/browse/NUTCH-1720
> Project: Nutch
> Issue Type: Bug
> Components: protocol
> Reporter: Walter Tietze
> Priority: Trivial
>
> In class HttpBase exist duplicate lines in check for http state '410'.
> Moreover in the additional log message the Text-Object is used instead of the
> URL object.
> Source File is
> ./src/plugin/lib-http/src/java/org/apache/nutch/protocol/http/api/HttpBase.java
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)