activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r475962 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts: AmqCppHeadersGenerator.java AmqCppMarshallingClassesGenerator.java
Date Thu, 16 Nov 2006 22:59:18 GMT
Author: tabish
Date: Thu Nov 16 14:59:17 2006
New Revision: 475962

URL: http://svn.apache.org/viewvc?view=rev&rev=475962
Log:
Updates for planned Openwire Support

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppMarshallingClassesGenerator.java

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java?view=diff&rev=475962&r1=475961&r2=475962
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppHeadersGenerator.java
Thu Nov 16 14:59:17 2006
@@ -131,7 +131,7 @@
 out.println("        virtual unsigned char getDataStructureType() const;");
 out.println("");
 out.println("        /**");
-out.println("         * Clone this obbject and return a new instance that the");      
+out.println("         * Clone this object and return a new instance that the");      
 out.println("         * caller now owns, this will be an exact copy of this one");
 out.println("         * @returns new copy of this object.");
 out.println("         */");

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppMarshallingClassesGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppMarshallingClassesGenerator.java?view=diff&rev=475962&r1=475961&r2=475962
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppMarshallingClassesGenerator.java
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppMarshallingClassesGenerator.java
Thu Nov 16 14:59:17 2006
@@ -478,7 +478,7 @@
 out.println("int "+className+"::tightMarshal1( OpenWireFormat* wireFormat, DataStructure*
dataStructure, BooleanStream* bs ) throw( io::IOException ){");
 out.println("");
 
-    if( !properties.isEmpty() ) { 
+    if( !properties.isEmpty()  || marshallerAware ) { 
 out.println("    "+jclass.getSimpleName()+"* info ="); 
 out.println("        dynamic_cast<"+jclass.getSimpleName()+"*>( dataStructure );");
 out.println("");



Mime
View raw message