Compare commits
No commits in common. "d6ef87c3519a928e5aba9458ffe2c3da8cb4f9a9" and "9874caf6909e255c6f480e61b4d06bca5e574c74" have entirely different histories.
d6ef87c351
...
9874caf690
@ -147,11 +147,11 @@ namespace Bulldozer.Generics
|
|||||||
var strs = str.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
|
var strs = str.Split(new char[] { '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries);
|
||||||
if (strs == null || strs.Length == 0)
|
if (strs == null || strs.Length == 0)
|
||||||
{
|
{
|
||||||
throw new IOException("Нет данных для загрузки");
|
return false;
|
||||||
}
|
}
|
||||||
if (!strs[0].StartsWith("BulldozerStorage"))
|
if (!strs[0].StartsWith("BulldozerStorage"))
|
||||||
{
|
{
|
||||||
throw new IOException("Неверный формат данных");
|
return false;
|
||||||
}
|
}
|
||||||
_bulldozerStorages.Clear();
|
_bulldozerStorages.Clear();
|
||||||
do
|
do
|
||||||
@ -172,7 +172,7 @@ namespace Bulldozer.Generics
|
|||||||
{
|
{
|
||||||
if ((collection + bulldozer) == -1)
|
if ((collection + bulldozer) == -1)
|
||||||
{
|
{
|
||||||
throw new IOException("Ошибка добавления в коллекцию");
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -185,3 +185,4 @@ namespace Bulldozer.Generics
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user