After recompiling the whole turbine, I saw that the
pp.keys and pp.remove are being used by other classes
and added these wrappers as listed below. I also tested
the patch and it works fine!
Please let me know if one of the CVS masters applied the
patch, or if I should send my patched file directly to you
as an attachment.
:) Christoph
-------------- placed after the append() methods ------------------
/*
* Removes the named parameter from the contained hashtable. Wraps to the
* contained <code>Hashtable.remove()</code>.
*
*
* @return The value that was mapped to the key (a <code>String[]</code>)
* or <code>null</code> if the key was not mapped.
*/
public Object remove(String name)
{
return parameters.remove( convert(name) );
}
------------ replacing the patched getKeys() method --------------
/*
* Get an enumerator for the parameter keys. Wraps to the
* contained <code>Hashtable.keys()</code>.
*
* @return An <code>enumerator</code> of the keys.
*/
public Enumeration keys()
{
return parameters.keys();
}
/*
* Returns all the available parameter names.
*
* @return A object array with the keys.
*/
public Object[] getKeys()
{
return parameters.keySet().toArray();
}
------------------------- cut here ------------------------
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]