activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1353590 - /activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs
Date Mon, 25 Jun 2012 15:18:01 GMT
Author: tabish
Date: Mon Jun 25 15:18:00 2012
New Revision: 1353590

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

Modified:
    activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs

Modified: activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs?rev=1353590&r1=1353589&r2=1353590&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS/branches/1.5.x/src/main/csharp/Util/PrimitiveMap.cs
Mon Jun 25 15:18:00 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