projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
String.Split(char[],int,StringSplitOptions) should remove empty entries while
[mono.git]
/
mcs
/
class
/
corlib
/
System
/
NumberFormatter.cs
diff --git
a/mcs/class/corlib/System/NumberFormatter.cs
b/mcs/class/corlib/System/NumberFormatter.cs
index 06cf1a442fc8fa74ba0084c22516afe62ba5a38f..4ff029cd761cf6be98651b960ba07c9b7dd129e5 100644
(file)
--- a/
mcs/class/corlib/System/NumberFormatter.cs
+++ b/
mcs/class/corlib/System/NumberFormatter.cs
@@
-788,7
+788,7
@@
namespace System
int length = 0;
CustomInfo.GetActiveSection (format,ref p, ns.ZeroOnly, ref offset, ref length);
if (length == 0) {
- return ns.Positive ?
""
: nfi.NegativeSign;
+ return ns.Positive ?
String.Empty
: nfi.NegativeSign;
}
ns.Positive = p;