activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1483069 - /activemq/activemq-dotnet/Apache.NMS.Stomp/branches/1.5.x/src/main/csharp/Protocol/StompWireFormat.cs
Date Wed, 15 May 2013 20:23:14 GMT
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)
                 {



Mime
View raw message