'cosmetics'

This commit is contained in:
UbitUmarov
2021-09-02 21:36:28 +01:00
parent f047cdc5ee
commit aa796bb443
5 changed files with 10 additions and 31 deletions

View File

@@ -100,9 +100,8 @@ namespace OpenSim.Capabilities.Handlers
string assetStr = string.Empty;
foreach (KeyValuePair<string,string> kvp in queries)
{
if (queryTypes.ContainsKey(kvp.Key))
if (queryTypes.TryGetValue(kvp.Key, out type))
{
type = queryTypes[kvp.Key];
assetStr = kvp.Value;
break;
}