[
https://issues.apache.org/jira/browse/NUTCH-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775152#comment-16775152
]
Sebastian Nagel commented on NUTCH-2695:
----------------------------------------
Hi [~malcolmt], thanks! I'll merge the pull request and I'm already browsing
through the list of alerts and will fix a longer list of issues. Very useful!
The largest group of alerts I do not plan to address is the index-out-of-bound
alerts on the args list in all the main() methods: laziness or maybe bad style
but if required command-line arguments are missing main() will exit with an
error (here: an ArrayIndexOutOfBoundException).
> Fix some alerts raised by LGTM
> ------------------------------
>
> Key: NUTCH-2695
> URL: https://issues.apache.org/jira/browse/NUTCH-2695
> Project: Nutch
> Issue Type: Improvement
> Reporter: Malcolm Taylor
> Priority: Major
>
> I work for Semmle, the company behind LGTM. Our analysis of Nutch raised some
> alerts, and this issue is to fix a few of the more straightforward ones.
> ([https://lgtm.com/projects/g/apache/nutch/alerts/?mode=tree).]
> * `Wrong NaN comparison` in Generator
> * `Type mismatch on container modification` in NutchServerPoolExecutor
> * `Missing format argument` in CrawlDbReader
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)