tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1439447 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/tribes/membership/MemberImpl.java webapps/docs/changelog.xml
Date Mon, 28 Jan 2013 15:20:35 GMT
Author: markt
Date: Mon Jan 28 15:20:35 2013
New Revision: 1439447

URL: http://svn.apache.org/viewvc?rev=1439447&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54496
Don't use hard-coded class name in toString()

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java
    tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1439445

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java?rev=1439447&r1=1439446&r2=1439447&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/tribes/membership/MemberImpl.java Mon Jan
28 15:20:35 2013
@@ -534,7 +534,8 @@ public class MemberImpl implements Membe
      */
     @Override
     public String toString()  {
-        StringBuilder buf = new StringBuilder("org.apache.catalina.tribes.membership.MemberImpl[");
+        StringBuilder buf = new StringBuilder(getClass().getName());
+        buf.append(getName()).append("[");
         buf.append(getName()).append(",");
         buf.append(getHostname()).append(",");
         buf.append(port).append(", alive=");

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1439447&r1=1439446&r2=1439447&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Mon Jan 28 15:20:35 2013
@@ -149,6 +149,14 @@
       </add>
     </changelog>
   </subsection>
+  <subsection name="Tribes">
+    <changelog>
+      <fix>
+        <bug>54496</bug>: Don't use a hard-coded class name in
+        <code>MemberImpl.toString()</code>. (markt)
+      </fix>
+    </changelog>
+  </subsection>
   <subsection name="Other">
     <changelog>
       <update>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message