nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tejas Patil (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1274) Fix [cast] javac warnings
Date Thu, 03 Jan 2013 11:12:12 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tejas Patil updated NUTCH-1274:
-------------------------------

    Attachment: NUTCH-1274-trunk.patch
                NUTCH-1274-2.x.patch

PFA the patches for trunk and 2.x. Can anyone kindly review the same ?
                
> Fix [cast] javac warnings
> -------------------------
>
>                 Key: NUTCH-1274
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1274
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: nutchgora, 1.5
>            Reporter: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 1.7
>
>         Attachments: NUTCH-1274-2.x.patch, NUTCH-1274-trunk.patch
>
>
> A typical example of this is
> {code}
> trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java:460: warning: [cast] redundant
cast to int
>     [javac]         res ^= (int)(signature[i] << 24 + signature[i+1] << 16
+ 
> {code}
> these should all be fixed by replacing with the correct implementations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message