activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1352346 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs
Date Wed, 20 Jun 2012 21:41:13 GMT
Author: tabish
Date: Wed Jun 20 21:41:12 2012
New Revision: 1352346

URL: http://svn.apache.org/viewvc?rev=1352346&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQNET-390

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs?rev=1352346&r1=1352345&r2=1352346&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/main/csharp/Util/PrimitiveMap.cs Wed Jun
20 21:41:12 2012
@@ -375,7 +375,7 @@ namespace Apache.NMS.Util
 				MarshalPrimitiveMap(map, new EndianBinaryWriter(memoryStream));
 			}
 
-			return memoryStream.GetBuffer();
+			return memoryStream.ToArray();
 		}
 
 		public static void MarshalPrimitiveMap(IDictionary map, Stream stream)



Mime
View raw message