nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tejas Patil (JIRA)" <>
Subject [jira] [Commented] (NUTCH-1274) Fix [cast] javac warnings
Date Sat, 12 Jan 2013 05:30:13 GMT


Tejas Patil commented on NUTCH-1274:

Hi Lewis,
I took a fresh checkout of trunk and applied the patch to it. I could not see any of the [cast]
flags that you pointed out ([build log|]). My guess is that our
java versions are different. Is this the right Java version:
{noformat}java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

This is the [latest|]
Oracles' Java version currently available. From [Jenkins|],
I gather that JDK 1.7 is used for nutch builds but not sure which bundle is used (OpenJdk
or Oracle). Please let me know the same so that I would continue ahead.
> Fix [cast] javac warnings
> -------------------------
>                 Key: NUTCH-1274
>                 URL:
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: nutchgora, 1.5
>            Reporter: Lewis John McGibbney
>            Assignee: Tejas Patil
>            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/ 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:

View raw message