You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/05/15 22:23:14 UTC
svn commit: r1483069 -
/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs
Author: tabish
Date: Wed May 15 20:23:13 2013
New Revision: 1483069
URL: http://svn.apache.org/r1483069
Log:
apply suggested fix for: https://issues.apache.org/jira/browse/AMQNET-411
Modified:
activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs
Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs?rev=1483069&r1=1483068&r2=1483069&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs Wed May 15 20:23:13 2013
@@ -20,6 +20,7 @@ using Apache.NMS.Util;
using System;
using System.IO;
using System.Text;
+using System.Globalization;
namespace Apache.NMS.Stomp.Protocol
{
@@ -196,7 +197,8 @@ namespace Apache.NMS.Stomp.Protocol
if(frame.HasProperty("version"))
{
- remoteWireFormatInfo.Version = Single.Parse(frame.RemoveProperty("version"));
+ remoteWireFormatInfo.Version = Single.Parse(
+ frame.RemoveProperty("version"), CultureInfo.InvariantCulture);
if(remoteWireFormatInfo.Version > 1.0f)
{