ReSharper code review

This commit is contained in:
JustArchi
2018-04-21 21:52:04 +02:00
parent 691812aa67
commit 20926ee14e
3 changed files with 36 additions and 30 deletions

View File

@@ -74,7 +74,7 @@ namespace ArchiSteamFarm {
return null;
}
return new HashSet<uint>(PackagesData.Where(package => (package.Value.AppIDs != null) && package.Value.AppIDs.Contains(appID)).Select(package => package.Key));
return new HashSet<uint>(PackagesData.Where(package => package.Value.AppIDs?.Contains(appID) == true).Select(package => package.Key));
}
internal static GlobalDatabase Load(string filePath) {