From d51d77235276c53fb45b0f76a37b638e26be1b74 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Fri, 6 Jan 2006 17:53:56 +0000 Subject: [PATCH] more fixes for OpenWire.Net; getting close to compiling :) git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366542 13f79535-47bb-0310-9956-ffa450edef68 --- activemq-core/src/gram/script/GenerateCSharpClasses.groovy | 3 +-- .../src/gram/script/GenerateCSharpMarshalling.groovy | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/activemq-core/src/gram/script/GenerateCSharpClasses.groovy b/activemq-core/src/gram/script/GenerateCSharpClasses.groovy index 6c14403fd3..36a9187596 100755 --- a/activemq-core/src/gram/script/GenerateCSharpClasses.groovy +++ b/activemq-core/src/gram/script/GenerateCSharpClasses.groovy @@ -86,7 +86,7 @@ namespace OpenWire.Core.Commands // TODO generate Equals method - // TODO generate HashCode method + // TODO generate GetHashCode method // TODO generate ToString method @@ -96,7 +96,6 @@ namespace OpenWire.Core.Commands // Properties - """ for (property in properties) { def type = toCSharpType(property.type) diff --git a/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy b/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy index 3444447d61..78132194bf 100755 --- a/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy +++ b/activemq-core/src/gram/script/GenerateCSharpMarshalling.groovy @@ -84,7 +84,7 @@ namespace OpenWire.Core.IO } public override void BuildCommand(Command command, BinaryReader dataIn) { - super.buildCommand(command, dataIn); + base.BuildCommand(command, dataIn); ${jclass.simpleName} info = (${jclass.simpleName}) command; """ for (property in propertyList) { @@ -143,7 +143,7 @@ namespace OpenWire.Core.IO } public override void WriteCommand(Command command, BinaryWriter dataOut) { - super.writeCommand(command, dataOut); + base.WriteCommand(command, dataOut); ${jclass.simpleName} info = (${jclass.simpleName}) command; """ for (property in propertyList) {