DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15257

Hierarchy support in ToStringBuilder.reflectionToString()

           Summary: Hierarchy support in
                    ToStringBuilder.reflectionToString()
           Product: Commons
           Version: 1.0.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I just discovered that the method ToStringBuilder.reflectionToString() does not 
work in a class hierarchy.

For example:

class A defines inst var a.
class B extends A defines inst var b.

new A().toString returns "a=..."
new B().toString returns "b=..."

when I expected new B().toString to return "a=...,b=..."

Can I use reflectionToString() to accomplish this?

Thank you for considering this request.

Gary

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

Reply via email to