mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
Replace != null with is not null
This commit is contained in:
@@ -87,7 +87,7 @@ public class CacheDecorator : IKeyframeExtractor
|
||||
{
|
||||
var bytes = File.ReadAllBytes(cachePath);
|
||||
cachedResult = JsonSerializer.Deserialize<KeyframeData>(bytes, _jsonOptions);
|
||||
return cachedResult != null;
|
||||
return cachedResult is not null;
|
||||
}
|
||||
|
||||
cachedResult = null;
|
||||
|
||||
Reference in New Issue
Block a user