Skip to content

Commit 17cb827

Browse files
Bump jetbrains.resharper.globaltools from 2024.1.1 to 2024.1.2 (#1542)
1 parent 985504f commit 17cb827

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"jetbrains.resharper.globaltools": {
6-
"version": "2024.1.1",
6+
"version": "2024.1.2",
77
"commands": [
88
"jb"
99
]

src/JsonApiDotNetCore/CollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static bool DictionaryEqual<TKey, TValue>(this IReadOnlyDictionary<TKey,
8282

8383
public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T>? source)
8484
{
85-
return source ?? Enumerable.Empty<T>();
85+
return source ?? [];
8686
}
8787

8888
public static IEnumerable<T> WhereNotNull<T>(this IEnumerable<T?> source)

0 commit comments

Comments
 (0)