Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -49,14 +49,10 @@ namespace Server.Engines.BulkOrders
|
|||
if ( m_Cache == null )
|
||||
m_Cache = new Dictionary<string, Dictionary<string, SmallBulkEntry[]>>();
|
||||
|
||||
Dictionary<string, SmallBulkEntry[]> table = null;
|
||||
|
||||
if (!m_Cache.TryGetValue(type, out table))
|
||||
if (!m_Cache.TryGetValue( type, out Dictionary<string, SmallBulkEntry[]> table ))
|
||||
m_Cache[type] = table = new Dictionary<string, SmallBulkEntry[]>();
|
||||
|
||||
SmallBulkEntry[] entries = null;
|
||||
|
||||
if (!table.TryGetValue(name, out entries))
|
||||
if (!table.TryGetValue( name, out SmallBulkEntry[] entries ))
|
||||
table[name] = entries = LoadEntries(type, name);
|
||||
|
||||
return entries;
|
||||
|
|
@ -107,4 +103,4 @@ namespace Server.Engines.BulkOrders
|
|||
return list.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue