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

ToStringStyle.setArrayEnd(String) doesn't replace null with empty string.

           Summary: ToStringStyle.setArrayEnd(String) doesn't replace null
                    with empty string.
           Product: Commons
           Version: 2.0 Final
          Platform: Sun
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


According to the javadoc of the ToStringStyle.setArrayEnd(String) method,  
null is accepted, but will be converted to an empty String.

But, in actual this method does not convert null.

attached are a fix and a junit test.

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

Reply via email to