From 14531d35fe208d65e9fd90528b169deb8978ce06 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 May 2024 02:12:22 +0000 Subject: [PATCH 1/2] Bump jetbrains.resharper.globaltools from 2024.1.1 to 2024.1.2 Bumps jetbrains.resharper.globaltools from 2024.1.1 to 2024.1.2. --- updated-dependencies: - dependency-name: jetbrains.resharper.globaltools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 7f8d6bab15..5c99098b34 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "jetbrains.resharper.globaltools": { - "version": "2024.1.1", + "version": "2024.1.2", "commands": [ "jb" ] From 3466676ea594f83313931d963d2b042c4fada1c4 Mon Sep 17 00:00:00 2001 From: Bart Koelman <10324372+bkoelman@users.noreply.github.com> Date: Thu, 9 May 2024 03:23:09 +0200 Subject: [PATCH 2/2] Fix new Resharper warning --- src/JsonApiDotNetCore/CollectionExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JsonApiDotNetCore/CollectionExtensions.cs b/src/JsonApiDotNetCore/CollectionExtensions.cs index f413898269..4e02b60fc5 100644 --- a/src/JsonApiDotNetCore/CollectionExtensions.cs +++ b/src/JsonApiDotNetCore/CollectionExtensions.cs @@ -82,7 +82,7 @@ public static bool DictionaryEqual(this IReadOnlyDictionary EmptyIfNull(this IEnumerable? source) { - return source ?? Enumerable.Empty(); + return source ?? []; } public static IEnumerable WhereNotNull(this IEnumerable source)