activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r550454 - in /activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool: CHeadersGenerator.java JavaTestsGenerator.java MultiSourceGenerator.java SingleSourceGenerator.java
Date Mon, 25 Jun 2007 11:25:22 GMT
Author: rajdavies
Date: Mon Jun 25 04:25:21 2007
New Revision: 550454

URL: http://svn.apache.org/viewvc?view=rev&rev=550454
Log:
apply patch http://issues.apache.org/activemq/browse/AMQ-1293

Modified:
    activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CHeadersGenerator.java
    activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/JavaTestsGenerator.java
    activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/MultiSourceGenerator.java
    activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/SingleSourceGenerator.java

Modified: activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CHeadersGenerator.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CHeadersGenerator.java?view=diff&rev=550454&r1=550453&r2=550454
==============================================================================
--- activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CHeadersGenerator.java
(original)
+++ activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/CHeadersGenerator.java
Mon Jun 25 04:25:21 2007
@@ -235,7 +235,6 @@
     protected void generateFile(PrintWriter out) throws Exception {
 
         String structName = jclass.getSimpleName();
-        String type = "OW_" + structName.toUpperCase() + "_TYPE";
 
 out.println("");
 out.println("typedef struct ow_"+structName+" {");

Modified: activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/JavaTestsGenerator.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/JavaTestsGenerator.java?view=diff&rev=550454&r1=550453&r2=550454
==============================================================================
--- activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/JavaTestsGenerator.java
(original)
+++ activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/JavaTestsGenerator.java
Mon Jun 25 04:25:21 2007
@@ -108,8 +108,6 @@
 			}
 		}
 
-		boolean marshallerAware = isMarshallAware(jclass);
-
 out.println("");
 out.println("/**");
 out.println(" * Test case for the OpenWire marshalling for "+jclass.getSimpleName()+"");

Modified: activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/MultiSourceGenerator.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/MultiSourceGenerator.java?view=diff&rev=550454&r1=550453&r2=550454
==============================================================================
--- activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/MultiSourceGenerator.java
(original)
+++ activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/MultiSourceGenerator.java
Mon Jun 25 04:25:21 2007
@@ -146,7 +146,7 @@
     }
     
     public boolean isAbstractClass() {
-        return jclass != null & jclass.isAbstract();
+        return jclass != null && jclass.isAbstract();
     }
 
     public String getAbstractClassText() {

Modified: activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/SingleSourceGenerator.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/SingleSourceGenerator.java?view=diff&rev=550454&r1=550453&r2=550454
==============================================================================
--- activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/SingleSourceGenerator.java
(original)
+++ activemq/trunk/activemq-openwire-generator/src/main/java/org/apache/activemq/openwire/tool/SingleSourceGenerator.java
Mon Jun 25 04:25:21 2007
@@ -158,7 +158,7 @@
     }
     
     public boolean isAbstractClass() {
-        return jclass != null & jclass.isAbstract();
+        return jclass != null && jclass.isAbstract();
     }
 
     public String getAbstractClassText() {



Mime
View raw message