Bug 54496 - ..tribes.membership.MemberImpl.toString() might be better using .getClass().getName()
Summary: ..tribes.membership.MemberImpl.toString() might be better using .getClass().g...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.35
Hardware: PC Linux
: P2 trivial (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.