commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: setDelimiter bug in 1.1
Date Tue, 05 Apr 2005 11:42:57 GMT
Thank you for spotting this issue Zsolt, I replaced ATTR_DELIMITER by 
getDelimiter(). You can give it a try in the current SVN tree.

Emmanuel Bourg


Zsolt Koppany wrote:
> Hi,
> 
> The private static variable of XMLConfiguration.DELIMITER cannot not be
> modified because setDelimiter() modifies AbstractConfiguration.DELIMITER and
> not XMLConfiguration.ATTR_DELIMITER, I propose to remove
> XMLConfiguration.ATTR_DELIMITER und using getDelimiter() instead of in
> XMLConfiguration.
> 
> Zsolt
> 
> 
> public class XMLConfiguration extends HierarchicalConfiguration implements
> FileConfiguration
> {
>     /** Constant for the default root element name. */
>     private static final String DEFAULT_ROOT_NAME = "configuration";
> 
>     /** Delimiter character for attributes. */
>     private static char ATTR_DELIMITER = ',';
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 

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


Mime
View raw message