aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/DirectoryService.cs
diff options
context:
space:
mode:
authorGary Wilber <Spacetech326@gmail.com>2020-09-27 17:25:08 -0700
committerGary Wilber <Spacetech326@gmail.com>2020-09-27 17:25:08 -0700
commit50c9083bc03c78ae2f87ca7bd960b5c44834c944 (patch)
treee84815819e246925ba12342969e4e80dd9e39203 /MediaBrowser.Controller/Providers/DirectoryService.cs
parent449f7e1b1e425e646ee1bcef2b1464df8b01d90e (diff)
remove unnecessary parentheses
Diffstat (limited to 'MediaBrowser.Controller/Providers/DirectoryService.cs')
-rw-r--r--MediaBrowser.Controller/Providers/DirectoryService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Providers/DirectoryService.cs b/MediaBrowser.Controller/Providers/DirectoryService.cs
index 53c6f9eb0..73731783d 100644
--- a/MediaBrowser.Controller/Providers/DirectoryService.cs
+++ b/MediaBrowser.Controller/Providers/DirectoryService.cs
@@ -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)