You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "Aaron Smuts (JIRA)" <ji...@apache.org> on 2009/07/23 21:14:15 UTC

[jira] Closed: (JCS-53) Programmatic configuration does not correctly read inherited Properties

     [ https://issues.apache.org/jira/browse/JCS-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Smuts closed JCS-53.
--------------------------


> Programmatic configuration does not correctly read inherited Properties
> -----------------------------------------------------------------------
>
>                 Key: JCS-53
>                 URL: https://issues.apache.org/jira/browse/JCS-53
>             Project: JCS
>          Issue Type: Bug
>          Components: Composite Cache
>    Affects Versions: jcs-1.3
>            Reporter: Phillip Liu
>            Assignee: Aaron Smuts
>             Fix For: jcs-1.3
>
>
> When calling ConfigureCacheManager.configure(properties, false) with a Properties instance containing defaults, the defaults are not correctly read.  The problem is in PropertySetter.java:135
>        for ( Enumeration e = properties.keys(); e.hasMoreElements(); )
>         ...
> Instead of calling properties.keys(), it should be calling properties.propertyNames().  The call to propertyNames() correctly refer to configured defaults, and keys() does not.  This should be a simple fix, how does one create a patch?

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