[
https://issues.apache.org/jira/browse/HCATALOG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mithun Radhakrishnan updated HCATALOG-559:
------------------------------------------
Attachment: HCATALOG-559.patch
Updated patch for the other warnings when building documentation.
Also, it looks like one can't simply remove the catch(NoSuchObjectException).
I've switched the order in the catch to thwart the warning.
> Fix trivial build warnings in HCat trunk.
> -----------------------------------------
>
> Key: HCATALOG-559
> URL: https://issues.apache.org/jira/browse/HCATALOG-559
> Project: HCatalog
> Issue Type: Bug
> Affects Versions: 0.5
> Reporter: Mithun Radhakrishnan
> Assignee: Mithun Radhakrishnan
> Priority: Trivial
> Fix For: 0.5
>
> Attachments: HCATALOG-559.patch
>
>
> A couple of build warnings pop up when building HCat trunk/ from scratch:
> 1. FileOutputFormatContainer::checkOutputSpecs(): The catch(TException) block
> sits ahead of catch(NoSuchObjectException) and thus masks the latter (since
> NoSuchObjectException extends TException). Also, the handling is identical
> for each. The second block can be removed.
> 2. HCatOutputFormat::setOutput(): Documentation for the first method refers
> to the second, but with incorrect arguments.
> I'll correct these and post a patch.
--
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