You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2011/06/06 23:23:05 UTC
svn commit: r1132780 -
/activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java
Author: tabish
Date: Mon Jun 6 21:23:05 2011
New Revision: 1132780
URL: http://svn.apache.org/viewvc?rev=1132780&view=rev
Log:
https://issues.apache.org/jira/browse/APLO-30
Use the Introspection support simpleName method to add the Class name to logging output.
Modified:
activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java
Modified: activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java?rev=1132780&r1=1132779&r2=1132780&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java (original)
+++ activemq/activemq-apollo/trunk/apollo-openwire/src/main/scala/org/apache/activemq/apollo/openwire/command/BaseCommand.java Mon Jun 6 21:23:05 2011
@@ -66,7 +66,8 @@ public abstract class BaseCommand implem
}
public String toString(Map<String, Object>overrideFields) {
- return IntrospectionSupport.toString(this, BaseCommand.class, overrideFields);
+ return IntrospectionSupport.simpleName(this.getClass()) + " " +
+ IntrospectionSupport.toString(this, BaseCommand.class, overrideFields);
}
public boolean isWireFormatInfo() {