activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1465109 - /activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java
Date Fri, 05 Apr 2013 20:09:49 GMT
Author: tabish
Date: Fri Apr  5 20:09:49 2013
New Revision: 1465109

URL: http://svn.apache.org/r1465109
Log:
source generator for local TX to impl toString more cleanly. 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java

Modified: activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java?rev=1465109&r1=1465108&r2=1465109&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/commands/LocalTransactionIdSourceGenerator.java
Fri Apr  5 20:09:49 2013
@@ -23,7 +23,8 @@ public class LocalTransactionIdSourceGen
     protected void generateToStringBody( PrintWriter out ) {
         out.println("    ostringstream stream;" );
         out.println("");
-        out.println("    stream << \"TX:\" << this->connectionId <<
\":\"");
+        out.println("    stream << \"TX:\"");
+        out.println("           << this->connectionId->toString() << \":\"");
         out.println("           << this->value;");
         out.println("");
         out.println("    return stream.str();");



Mime
View raw message