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=34441>.
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=34441





------- Additional Comments From [EMAIL PROTECTED]  2005-05-05 18:54 -------
Created an attachment (id=14946)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14946&action=view)
Proposed fix for this issue

This patch is a proposal to fix the problem:

Two methods were added to AbstractFileConfiguration, enterNoReload() and
exitNoReload(). The former increments a counter, the latter decrements it. The
reload() method now first checks this counter and only performs a reloading if
the counter is 0.

In PropertiesConfiguration the save() method calls these methods thus ensuring
that no problems are caused by a reload.

Comments?

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to