mirror of
https://github.com/celisej567/LibBSP.git
synced 2026-09-23 20:08:40 +03:00
Small coding style fix
This commit is contained in:
@@ -29,17 +29,17 @@ namespace LibBSP {
|
|||||||
if (c == separator) {
|
if (c == separator) {
|
||||||
switch (options) {
|
switch (options) {
|
||||||
case StringSplitOptions.RemoveEmptyEntries: {
|
case StringSplitOptions.RemoveEmptyEntries: {
|
||||||
if (current.Length > 0) {
|
if (current.Length > 0) {
|
||||||
results.Add(current.ToString());
|
|
||||||
}
|
|
||||||
current.Length = 0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case StringSplitOptions.None: {
|
|
||||||
results.Add(current.ToString());
|
results.Add(current.ToString());
|
||||||
current.Length = 0;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
current.Length = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case StringSplitOptions.None: {
|
||||||
|
results.Add(current.ToString());
|
||||||
|
current.Length = 0;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
current.Append(c);
|
current.Append(c);
|
||||||
|
|||||||
Reference in New Issue
Block a user