remove unnecessary parentheses

This commit is contained in:
Gary Wilber 2020-09-27 17:25:08 -07:00
parent 449f7e1b1e
commit 50c9083bc0

View File

@ -48,7 +48,7 @@ namespace MediaBrowser.Controller.Providers
var result = _fileCache.GetOrAdd(path, p =>
{
var file = _fileSystem.GetFileInfo(path);
return (file != null && file.Exists) ? file : null;
return file != null && file.Exists ? file : null;
});
if (result == null)