fix
This commit is contained in:
parent
fc62891cfc
commit
d5e461cf6b
@ -46,7 +46,7 @@
|
|||||||
/// <param name="airplane">Добавляемый самолет</param>
|
/// <param name="airplane">Добавляемый самолет</param>
|
||||||
/// <param name="position">Позиция</param>
|
/// <param name="position">Позиция</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public int Insert(T warplane, int position)
|
public int Insert(T airplane, int position)
|
||||||
{
|
{
|
||||||
if (Count == _maxCount)
|
if (Count == _maxCount)
|
||||||
throw new StorageOverflowException(_maxCount);
|
throw new StorageOverflowException(_maxCount);
|
||||||
@ -54,7 +54,7 @@
|
|||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
_places.Insert(position, warplane);
|
_places.Insert(position, airplane);
|
||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user