Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fd7ddef
)
THRIFT-2191 Fix charp JSONProtocol.ReadJSONDouble (specify InvariantCulture)
author
Jens Geyer
<jensg@apache.org>
Wed, 18 Sep 2013 21:30:42 +0000
(23:30 +0200)
committer
Jens Geyer
<jensg@apache.org>
Wed, 18 Sep 2013 21:30:42 +0000
(23:30 +0200)
Patch: Alexander Makarov
lib/csharp/src/Protocol/TJSONProtocol.cs
patch
|
blob
|
history
diff --git
a/lib/csharp/src/Protocol/TJSONProtocol.cs
b/lib/csharp/src/Protocol/TJSONProtocol.cs
index
3b27d30
..
cad9134
100644
(file)
--- a/
lib/csharp/src/Protocol/TJSONProtocol.cs
+++ b/
lib/csharp/src/Protocol/TJSONProtocol.cs
@@
-863,7
+863,7
@@
namespace Thrift.Protocol
}
try
{
- return Double.Parse(ReadJSONNumericChars());
+ return Double.Parse(ReadJSONNumericChars()
, CultureInfo.InvariantCulture
);
}
catch (FormatException)
{