mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 18:14:42 +01:00
Replace != null with is not null
This commit is contained in:
@@ -174,7 +174,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
var result = CharsetDetector.DetectFromStream(stream).Detected;
|
||||
stream.Position = 0;
|
||||
|
||||
if (result != null)
|
||||
if (result is not null)
|
||||
{
|
||||
_logger.LogDebug("charset {CharSet} detected for {Path}", result.EncodingName, fileInfo.Path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user