jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Smuts (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCS-53) Programmatic configuration does not correctly read inherited Properties
Date Thu, 23 Jul 2009 19:14:15 GMT

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

Aaron Smuts resolved JCS-53.
----------------------------

    Resolution: Fixed

Fixed in 1.3.3.3.

> 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


Mime
View raw message