mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Replace != null with is not null
This commit is contained in:
@@ -101,7 +101,7 @@ namespace Emby.Server.Implementations.Data
|
||||
protected ManagedConnection GetConnection(bool readOnly = false)
|
||||
{
|
||||
WriteLock.Wait();
|
||||
if (WriteConnection != null)
|
||||
if (WriteConnection is not null)
|
||||
{
|
||||
return new ManagedConnection(WriteConnection, WriteLock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user