убрала лишний комментарий
This commit is contained in:
parent
d9146f0613
commit
6ffc5d917d
@ -116,7 +116,7 @@ public class StorageCollection<T>
|
||||
{
|
||||
streamWriter.Write(Environment.NewLine);
|
||||
|
||||
//не сохраняем пустые коллекции
|
||||
|
||||
if (value.Value.Count == 0)
|
||||
{
|
||||
continue;
|
||||
@ -191,9 +191,9 @@ public class StorageCollection<T>
|
||||
string[] set = record[3].Split(_separatorItems, StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (string elem in set)
|
||||
{
|
||||
if (elem?.CreateDrawningBoat() is T Truck)
|
||||
if (elem?.CreateDrawningBoat() is T Boat)
|
||||
{
|
||||
if (collection.Insert(Truck) == -1)
|
||||
if (collection.Insert(Boat) == -1)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user