You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Gabriele Garuglieri (JIRA)" <ji...@apache.org> on 2006/09/06 08:01:22 UTC

[jira] Created: (CONFIGURATION-225) Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.

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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (CONFIGURATION-225) Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/CONFIGURATION-225?page=all ]

Oliver Heger resolved CONFIGURATION-225.
----------------------------------------

    Fix Version/s: Nightly Builds
       Resolution: Fixed

I added some notes to the javadoc of ConfigurationEvent and to the user's guide. I hope this is okay.

> 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
>         Assigned To: Oliver Heger
>            Priority: Minor
>             Fix For: Nightly Builds
>
>
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (CONFIGURATION-225) Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONFIGURATION-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger updated CONFIGURATION-225:
---------------------------------------

    Fix Version/s:     (was: Nightly Builds)
                   1.3

> Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-225
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-225
>             Project: Commons Configuration
>          Issue Type: Improvement
>         Environment: 1.3RC2
>            Reporter: Gabriele Garuglieri
>         Assigned To: Oliver Heger
>            Priority: Minor
>             Fix For: 1.3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (CONFIGURATION-225) Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/CONFIGURATION-225?page=comments#action_12433637 ] 
            
Oliver Heger commented on CONFIGURATION-225:
--------------------------------------------

Where would be the best place for such a documentation? In the JavaDocs of ConfigurationEvent or ConfigurationListener? Or better in AbstractConfiguration? I am not sure.

> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (CONFIGURATION-225) Document exactly what's returned by ConfigurationEvent.getPropertyValue() after EVENT_ADD_PROPERTY.

Posted by "Gabriele Garuglieri (JIRA)" <ji...@apache.org>.
    [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org