Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 23, 2023
1 parent d2d3920 commit 03ac942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SqlServer.HttpPassthrough/PassthroughMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public string? ClientUrl
/// <summary>
/// Any extra headers to add to the outgoing NServiceBus message.
/// </summary>
public Dictionary<string, string> ExtraHeaders { get; set; } = new();
public Dictionary<string, string> ExtraHeaders { get; set; } = [];

/// <summary>
/// Convert all properties of this instance into a <see cref="Dictionary{TKey,TValue}"/>.
Expand Down
2 changes: 1 addition & 1 deletion src/SqlServer.Native/Headers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace NServiceBus.Transport.SqlServerNative;

public static partial class Headers
{
static Dictionary<string, string> emptyHeaders = new();
static Dictionary<string, string> emptyHeaders = [];
/// <summary>
/// The string '{}', for when empty json headers are required.
/// </summary>
Expand Down

0 comments on commit 03ac942

Please sign in to comment.