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 30858] - [configuration] PropertyConfiguration.save() does not take basePath into account
Date Thu, 02 Dec 2004 14:10:36 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=30858>.
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=30858





------- Additional Comments From oliver.heger@t-online.de  2004-12-02 15:10 -------
Well, I will try to do the following: get rid of the internal url field in
AbstractFileConfiguration. Everywhere the url field is accessed, it can be
calculated from the base path and file name. The base path can then contain a
full URL, which has to be taken into account when constructing a File object in
save() operations.

So this modification won't influence the class's interface. Where to put the
utility methods for translating from URLs to Files and vice versa is an
interesting question. I don't think that a static utility class is such a bad
idea because this makes them easier to access (maybe in future other parts of
[configuration] needs this stuff, too?).

-- 
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