You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/28 16:45:00 UTC

[jira] [Commented] (NUTCH-2846) Fix various bugs spotted by NUTCH-2815

    [ https://issues.apache.org/jira/browse/NUTCH-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17273843#comment-17273843 ] 

ASF GitHub Bot commented on NUTCH-2846:
---------------------------------------

sebastian-nagel opened a new pull request #566:
URL: https://github.com/apache/nutch/pull/566


   - Remove invalid declaration of constructor
   - Use integer arithmetic instead of floating point with rounding
   - Fix incorrect bracketing in calculation of hash code
   - Parse integer numbers via Integer.parseInt(...)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Fix various bugs spotted by NUTCH-2815
> --------------------------------------
>
>                 Key: NUTCH-2846
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2846
>             Project: Nutch
>          Issue Type: Sub-task
>            Reporter: Sebastian Nagel
>            Priority: Major
>
> This issue addresses various bugs spotted by Spotbugs (NUTCH-2815):
> - use static method Integer.parseInt(...)
> - use integer arithmetic instead of floating point with rounding floats afterwards
> - erroneous declaration of constructor in BasicURLNormalizer
> - fix bracketing when calculating hash code of CrawlDatum



--
This message was sent by Atlassian Jira
(v8.3.4#803005)