commit | 6b43fa37958c944d918f51794e77ef3b69abf55f | [log] [tgz] |
---|---|---|
author | Henrique Mendonça <henrique@apache.org> | 周五 9月 20 13:24:02 2013 +0200 |
committer | Henrique Mendonça <henrique@apache.org> | 周五 9月 20 13:24:02 2013 +0200 |
tree | d0796d5730b4dada92b77a6e6feb0677feb2e7c1 | |
parent | f7be519e08d2c699e02aee691b3351441040df92 [diff] | |
parent | 97cc95b24c8604b8666b2045bd6a0d096254331e [diff] |
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift
diff --git a/lib/csharp/src/Protocol/TJSONProtocol.cs b/lib/csharp/src/Protocol/TJSONProtocol.cs index 3b27d30..cad9134 100644 --- a/lib/csharp/src/Protocol/TJSONProtocol.cs +++ b/lib/csharp/src/Protocol/TJSONProtocol.cs
@@ -863,7 +863,7 @@ } try { - return Double.Parse(ReadJSONNumericChars()); + return Double.Parse(ReadJSONNumericChars(), CultureInfo.InvariantCulture); } catch (FormatException) {
diff --git a/test/DocTest.thrift b/test/DocTest.thrift index cb355ae..c93ac3b 100644 --- a/test/DocTest.thrift +++ b/test/DocTest.thrift
@@ -244,4 +244,6 @@ */ typedef i32 TotallyDegenerate +/**no room for newline here*/ + /* THE END */