Minor fixes with personKeyToPersonContainer
This commit is contained in:
@ -238,9 +238,10 @@ internal abstract class MapLogic
|
||||
if (!personKeyFormattedToPersonContainer.ContainsKey(newestPersonKeyFormatted))
|
||||
personKeyFormattedToPersonContainer.Add(newestPersonKeyFormatted, personContainer);
|
||||
}
|
||||
|
||||
foreach (KeyValuePair<long, List<PersonContainer>> keyValuePair in personKeyToPersonContainerCollection)
|
||||
{
|
||||
if (keyValuePair.Value.Count != 1)
|
||||
if (keyValuePair.Value.Count != 1 && (from l in keyValuePair.Value select l.DisplayDirectoryName).Distinct().Count() != 1)
|
||||
throw new NotImplementedException();
|
||||
personKeyToPersonContainer.Add(keyValuePair.Key, keyValuePair.Value[zero]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user