[
https://issues.apache.org/jira/browse/NUTCH-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferdy Galema updated NUTCH-1362:
--------------------------------
Attachment: NUTCH-1362.patch
Hey Lewis,
This patches fixes the problem and makes the reversing a bit faster by using
StringUtils.split instead of String.split. (The latter compiles a regular
expression every time a split is done. That's a bit excessive for simple dot
and colon splitting.)
Tested and verified.
> Fix error handling of urls with empty fields
> ---------------------------------------------
>
> Key: NUTCH-1362
> URL: https://issues.apache.org/jira/browse/NUTCH-1362
> Project: Nutch
> Issue Type: Bug
> Affects Versions: nutchgora
> Reporter: Lewis John McGibbney
> Fix For: nutchgora
>
> Attachments: NUTCH-1362.patch
>
>
> Within o.a.n.util.TableUtil.reverseAppendSplits() a simple if (split.length >
> 0) block enables us to address this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira