removing unnecessary checks
This commit is contained in:
parent
cc1aa1d3d6
commit
cf07e0696e
@ -144,7 +144,7 @@ namespace Catamaran.CollectionGenericObjects
|
||||
return false;
|
||||
}
|
||||
|
||||
//_storages.Clear();
|
||||
_storages.Clear();
|
||||
foreach (string data in strs)
|
||||
{
|
||||
string[] record = data.Split(_separatorKeyValue, StringSplitOptions.RemoveEmptyEntries);
|
||||
@ -173,15 +173,7 @@ namespace Catamaran.CollectionGenericObjects
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!_storages.ContainsKey(record[0]))
|
||||
{
|
||||
_storages.Add(record[0], collection);
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user