mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-29 05:16:30 +01:00
Replace == null with is null
This commit is contained in:
@@ -197,7 +197,7 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
private bool HasAccessToQueue(User user, IReadOnlyList<Guid> queue)
|
||||
{
|
||||
// Check if queue is empty.
|
||||
if (queue == null || queue.Count == 0)
|
||||
if (queue is null || queue.Count == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -217,7 +217,7 @@ namespace Emby.Server.Implementations.SyncPlay
|
||||
private bool AllUsersHaveAccessToQueue(IReadOnlyList<Guid> queue)
|
||||
{
|
||||
// Check if queue is empty.
|
||||
if (queue == null || queue.Count == 0)
|
||||
if (queue is null || queue.Count == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user