[ http://issues.apache.org/jira/browse/CONFIGURATION-225?page=comments#action_12433783 ] Gabriele Garuglieri commented on CONFIGURATION-225: ---------------------------------------------------
IMO it should be both in javadoc of ConfigurationEvent.getPropertyValue() and in the "Configuration Events" page of User Guide where you talk of ConfigurationEvent itself. I'd tried to patch it myself but if writing code gives me no problems, when writing doc i end too often italianizing what i write and the result is understandable only by myself and God (perhaps). > Document exactly what's returned by ConfigurationEvent.getPropertyValue() > after EVENT_ADD_PROPERTY. > --------------------------------------------------------------------------------------------------- > > Key: CONFIGURATION-225 > URL: http://issues.apache.org/jira/browse/CONFIGURATION-225 > Project: Commons Configuration > Issue Type: Improvement > Environment: 1.3RC2 > Reporter: Gabriele Garuglieri > Priority: Minor > > It should be documented that when the property content is a Collection, after > EVENT_ADD_PROPERTY, ConfigurationEvent.getPropertyValue() returns only the > value of what is being added to the property and not the whole property > content as after EVENT_SET_PROPERTY. > It took me a while to understand why in certain circumstances my testcases > were failing :) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]