Bug 54496 - ..tribes.membership.MemberImpl.toString() might be better using .getClass().getName()
..tribes.membership.MemberImpl.toString() might be better using .getClass().g...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
7.0.35
PC Linux
: P2 trivial (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-01-25 18:34 UTC by vince stewart
Modified: 2013-01-28 15:20 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vince stewart 2013-01-25 18:34:53 UTC
public String toString()  {
 StringBuilder buf = new  
 StringBuilder("org.apache.catalina.tribes.membership.MemberImpl[");

Might be better to use .getClass().getName() to cover StaticMember and any other sub-classes that might arise.
Comment 1 Mark Thomas 2013-01-28 15:20:57 UTC
Thanks for the report.

This has been fixed in trunk and 7.0.x and will be included in 7.0.36 onwards.