Message:

   The following issue has been closed.

   Resolver: Stephen McConnell
       Date: Sat, 8 May 2004 7:07 AM

Issue resolved and committed under 4.2.0 RC2.
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

    Project: Avalon Framework
 Components: 
             Implementation
   Fix Fors:
             4.2.0

   Assignee: Stephen McConnell
   Reporter: Ivan Latysh

    Created: Fri, 7 May 2004 1:36 PM
    Updated: Sat, 8 May 2004 7:07 AM
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"



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to