activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r501172 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Date Mon, 29 Jan 2007 20:17:48 GMT
Author: tabish
Date: Mon Jan 29 12:17:44 2007
New Revision: 501172

URL: http://svn.apache.org/viewvc?view=rev&rev=501172
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

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

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java?view=diff&rev=501172&r1=501171&r2=501172
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Mon Jan 29 12:17:44 2007
@@ -281,7 +281,8 @@
                 !type.startsWith("std::vector") ) {
                    
                 type = type + "*";
-            } else if( property.getType().getSimpleName().equals("String") ) {
+            } else if( property.getType().getSimpleName().equals("String") ||
+            		   type.startsWith( "std::vector") ) {
                 type = type + "&";
                 constNess = "const ";
             }



Mime
View raw message