Revert "[ALL] String.Empty"

This reverts commit d1df5c2b60.
This commit is contained in:
Matt Nadareski
2017-01-27 16:53:29 -08:00
parent c8142549bb
commit 8d6fa2c908
38 changed files with 500 additions and 500 deletions

View File

@@ -42,14 +42,14 @@ namespace NaturalSort
string[] x1, y1;
if (!table.TryGetValue(x, out x1))
{
//x1 = Regex.Split(x.Replace(" ", String.Empty), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//x1 = Regex.Split(x.Replace(" ", ""), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(x, x1);
}
if (!table.TryGetValue(y, out y1))
{
//y1 = Regex.Split(y.Replace(" ", String.Empty), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//y1 = Regex.Split(y.Replace(" ", ""), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(y, y1);
}

View File

@@ -42,14 +42,14 @@ namespace NaturalSort
string[] x1, y1;
if (!table.TryGetValue(x, out x1))
{
//x1 = Regex.Split(x.Replace(" ", String.Empty), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//x1 = Regex.Split(x.Replace(" ", ""), "([0-9]+)");
x1 = Regex.Split(x, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(x, x1);
}
if (!table.TryGetValue(y, out y1))
{
//y1 = Regex.Split(y.Replace(" ", String.Empty), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != String.Empty).ToArray();
//y1 = Regex.Split(y.Replace(" ", ""), "([0-9]+)");
y1 = Regex.Split(y, "([0-9]+)").Where(s => s != "").ToArray();
table.Add(y, y1);
}

View File

@@ -49,7 +49,7 @@ namespace ROMVault2.SupportedFiles.Zip
public string ZipFilename
{
get { return (_zipFileInfo != null ? _zipFileInfo.FullName : String.Empty); }
get { return (_zipFileInfo != null ? _zipFileInfo.FullName : ""); }
}
public long TimeStamp
{
@@ -944,7 +944,7 @@ namespace ROMVault2.SupportedFiles.Zip
switch (zr)
{
case ZipReturn.ZipGood:
ret = String.Empty;
ret = "";
break;
case ZipReturn.ZipFileCountError:
ret = "The number of file in the Zip does not mach the number of files in the Zips Centeral Directory";

View File

@@ -153,14 +153,14 @@ namespace Ionic.Zlib
{
"need dictionary",
"stream end",
String.Empty,
"",
"file error",
"stream error",
"data error",
"insufficient memory",
"buffer error",
"incompatible version",
String.Empty
""
};
// preset dictionary flag in zlib header