commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36665] - [configuration] Clarify ReloadingStrategy interface usage
Date Thu, 15 Sep 2005 09:08:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36665





------- Additional Comments From ndeloof@capgemini.fr  2005-09-15 11:07 -------
On every line read (I'm using PropertiesConfiguration), addPropertyDirect() is
called.
In BaseConfiguration, addPropertyDirect() uses getProperty() to get previous
property value. If previous value exists or is a List instance, new object is
added to it (into the existing or into a new list).
In other cases, new value is simple added to store.

So getProperty() is called, and enter a second time info reload(). If at this
time reloadingStrategy doesn't return false, an infinite loop starts.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message