avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject Re: A bug
Date Fri, 07 May 2004 21:08:53 GMT

Ivan:

Have already looked at ConfigurationUtil relative to the JIRA issue. 
It's a valid issue and something we may want to resolve before the the 
framework 4.2.0 release.

Stephen.


Ivan Latysh wrote:
> Hello!
> 
> I submitted it in "The Jira Bug Tracking System"
> But there are not much activity and I decided to duplicate it here:
> 
> [begin]
> Message:
> 
>   A new issue has been created in JIRA.
> 
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/AVALON-3
> 
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: AVALON-3
>     Summary: ConfigurationUtil.toConfiguration adds null string in front of
> the each Text node
>        Type: Bug
> 
>      Status: Unassigned
>    Priority: Major
> 
>     Project: Avalon Framework
>  Components:
>              Implementation
> 
>    Assignee:
>    Reporter: Ivan Latysh
> 
>     Created: Fri, 7 May 2004 1:36 PM
>     Updated: Fri, 7 May 2004 1:36 PM
> Environment: Any environment
> 
> Description:
> This what cause the problem
> ConfigurationUtil class, line 108
>  String content = null;
> where should be
>  String content = "";
> 
> because after we are doing
>  content += data.getData();
> that cause to add null string in front of the data readed from the node.
> 
> A simple test
>  String str = null;
>  str+="some text";
> 
> will give "nullsome text"
> 
> [end]
> 
> With best regards, Ivan Latysh.  E-mail: ivan@yourmail.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 


-- 

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|


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


Mime
View raw message