[
https://issues.apache.org/jira/browse/OOZIE-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars Francke updated OOZIE-846:
-------------------------------
Attachment: OOZIE-846.2.clean.patch
OOZIE-846.2.patch
I didn't get to it earlier. Thank you Seetharam for jumping in.
I've attached another patch building on the earlier one that also changes
{{get()}} to {{getProperty()}}.
I've attached two versions: One with the additional changes from the first
patch and one that's only concerned with the changes from this issue.
> OozieClient iterates over Properties using Hashtable method
> -----------------------------------------------------------
>
> Key: OOZIE-846
> URL: https://issues.apache.org/jira/browse/OOZIE-846
> Project: Oozie
> Issue Type: Bug
> Components: client
> Affects Versions: trunk
> Reporter: Lars Francke
> Assignee: Seetharam Venkatesh
> Priority: Minor
> Labels: patch
> Attachments: OOZIE-846.2.clean.patch, OOZIE-846.2.patch,
> OOZIE-846.patch
>
>
> OozieClient uses this code to enumerate over a passed in Properties object to
> convert it to XML:
> {code}
> for (Enumeration e = props.keys(); e.hasMoreElements();) {
> {code}
> {{keys()}} is a method from {{Hashtable}} and misses the _defaults_ that can
> be used with {{Properties}}. {{Properties.propertyNames()}} should be used
> instead.
--
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