убрала лишний комментарий

This commit is contained in:
AlyonaFr 2024-05-02 11:43:13 +04:00
parent d9146f0613
commit 6ffc5d917d

View File

@ -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;
}
}