Hi Alex,

Regarding your findings and the code you've posted.
Can you please open an issue on Jira, posting in the code changes (or even
better a patch :) )
If you could like it to the Gora 0.4 upgrade issue in Nutch Jira it would
be excellent.
Thanks v much Alex.
Lewis

On Fri, Apr 11, 2014 at 11:14 AM, <[email protected]> wrote:

>
> It turned out that the error is generated because of the mismatch of the
> new function's return type(Integer) and the resulting variable. After
> changing these lines
> in
>
>
SNIP


>  TO
>   Integer interval = page.getFetchInterval();
>     switch (state) {
>       case FetchSchedule.STATUS_MODIFIED:
>         interval *=(int) (1.0f - DEC_RATE);
>         break;
>       case FetchSchedule.STATUS_NOTMODIFIED:
>         interval *=(int) (1.0f + INC_RATE);
>         break;
>       case FetchSchedule.STATUS_UNKNOWN:
>         break;
>     }
>
>

Reply via email to