removed initial capacity to List and ArrayList where inappropriate
This commit is contained in:
parent
e15ed963d8
commit
a8acb6bd9d
7 changed files with 100 additions and 110 deletions
|
|
@ -1645,8 +1645,9 @@ namespace Server.Items
|
|||
|
||||
if ( !contains )
|
||||
{
|
||||
if ( m_Openers == null )
|
||||
m_Openers = new List<Mobile>( 4 );
|
||||
if ( m_Openers == null ) {
|
||||
m_Openers = new List<Mobile>();
|
||||
}
|
||||
|
||||
m_Openers.Add( to );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue